Tealium extension for AJAX Loading content buttons

Bronze Contributor
Bronze Contributor

Hi everybody,

How to track buttons inside the Ajax Loaded contents in search results page.

And I need to add Tealium extension to fire ga event for this button.

Thanks!

2 REPLIES 2

Tealium extension for AJAX Loading content buttons

Tealium Expert
Tealium Expert

Hello @Palitha - have you looked into the jQuery handlers in the Extensions section (events tab) ?   You should determine the jQuery selector for the button you want to track, then give one of those extensions a try in your profile.  Those extensions give you the option of triggering a View or Link event and with those you can trigger the tag you want!

Tealium Expert

Tealium extension for AJAX Loading content buttons

Tealium Employee

I also want to add that for AJAX events you'll want to set the Primary Selector as document for the extension so that the listener propogates up out of the dynamic content.

Public