Highlighted

I was wondering if it was possible to set up an event to fire when an element of the page (say an h3) comes into the pane view? So when someone scrolls down the page and sees an h3 I want an event to fire a tag.

custom event tracking
2 REPLIES 2
Highlighted

I was wondering if it was possible to set up an event to fire when an element of the page (say an h3) comes into the pane view? So when someone scrolls down the page and sees an h3 I want an event to fire a tag.

Tealium Employee
Tim- If you can recognize when the element comes into the pane view and fire off a utag.link call at that time that contains the relevant data, we can fire off the event. We don't have an extension out of the box that listens for elements to appear at this time.
Highlighted

I was wondering if it was possible to set up an event to fire when an element of the page (say an h3) comes into the pane view? So when someone scrolls down the page and sees an h3 I want an event to fire a tag.

Tealium Employee
Hi Tim, If you have jQuery on your site the best way to achieve this would be using the waypoint plugin: http://imakewebthings.com/jquery-waypoints/ . An example of how you might use this could be: {code:js} $('h3').waypoint(function() { utag.view({}); }); {code}