- TLC Home Home
- Discussions & Ideas Discussions & Ideas
- Product Guides Product Guides
- Knowledge Base Knowledge Base
- Developer Docs Developer Docs
- Education Education
- Blog TLC Blog
- Support Desk Support Desk
In this article:
Normally you choose which Tags load on a page by configuring a load rule and applying it to your Tags. But what if you don't want to load a Tag on page load, and instead load the Tag after a visitor takes some action or some event occurs on the page? Here's one way to do that.
utag.view( {DATA OBJECT CONTAINING YOUR KEY/VALUE PAIRS}, null, [ARRAY OF UIDS YOU WANT THIS CALL TO FIRE]);
The UIDs can be found by looking to the right of each tag on the tags tab:
For example, assume we wanted to fire off the Doubleclick Floodlight tag in the screenshot above when an element with the id of "mybutton" was mousedowned, and pass the tag a page_name of "my_form_page" and a form_name of "my_form". The extension would look like this:
Copyright All Rights Reserved © 2008-2021