Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

DTM - YouTube API Rule Not Working

Level 1
Level 1

I am trying to add a call to the YouTube API as a page load rule in the Dynamic Tag Manager, in the Javascript/Third Party Tags section. It's sequential javascript, triggered onload. It works outside the tag manager. However, once it's in the tag manager, the onPlayerReady event and other tracking events don't fire. It does when checking the Execute Globally checkbox. However, doing that invalidates the use of the event keyword, which is necessary for the YouTube tracking I want to do. I've attached the code.

I have tried different configurations (non-sequential, fired at top of page, bottom of page, DOM ready, etc.) and haven't been able to get the attached code to fire any SiteCatalyst variables. Again, it does work as expected outside the console. Does anyone have any ideas?



0 Replies