Highlighted

Is it possible to call a tag in a dom ready JS extension?

Rookie Contributor
Let's say I have a tag "some_pixel_tag". Can I execute this tag manually in a JS extension something like this: utag.tag.some_pixel_tag() or similar?
1 REPLY 1
Highlighted

Is it possible to call a tag in a dom ready JS extension?

Tealium Employee
Hi Tomas, Tags are setup to fire for link click or page view events only. I'm assuming your request is in relation to one of these two events. If that is the case then the utag.link and utag.view calls should suffice. This post https://community.tealiumiq.com/posts/573193 should have much of the necessary information you are looking for. If not, please reply with more specifics and we can point you in the right direction. Alternatively you can contact your Account Manager who can provide details specific to your needs.