How to track a checkout funnel in AJAX with utag.view (code or site example)?

Bronze Contributor
Bronze Contributor
I would like to track a checkout funnel in Ajax and I would like to have more details on the way I should implement a utag.view code in the source code of the page. Thanks.
5 REPLIES 5

How to track a checkout funnel in AJAX with utag.view (code or site example)?

Gold Contributor
Gold Contributor

Hi Antoine

 

Just set all new values for variables required with the utag.view call. Reset any variables not required. e.g. every step should fire, using a function, something like:

 

utag.view({ "variable1" : "value", "variable2" : "value", "variable3" : "value", "variable4" : "value", });

 

If you want to just call one tag only then:

utag.view({ "variable1" : "value", "variable2" : "value", "variable3" : "value", "variable4" : "value", }, null, []);

 

If you want to fire only tag id 20, replace with tag id, 20. If you want to track using link tracking then use utag.link instead of utag.view.

 

Cheers Sam

How to track a checkout funnel in AJAX with utag.view (code or site example)?

Tealium Employee

Hey Antoine, Samrat has provided some great details. We also have an article that covers using utag.view and utag.link, here: utag.link() and utag.view() Take a look at that, and let us know if you still have questions. Thanks, Seth

How to track a checkout funnel in AJAX with utag.view (code or site example)?

Bronze Contributor
Bronze Contributor
Awesome. Thanks, Antoine.

How to track a checkout funnel in AJAX with utag.view (code or site example)?

Tealium Expert
Tealium Expert
Hi @Seth could the link mentioned above be updated? It says 'access denied' when I try to click through - probably due to a URL change. (Thank you!)
Tealium Expert

How to track a checkout funnel in AJAX with utag.view (code or site example)?

Employee Emeritus

Whoops! Thank you for bringing this to our attention @mitchellt. It should be fixed now! Sorry about that.

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Public