12-04-2018 11:39 AM
How do I create checkout funnel steps for a one page checkout?Is giving a utag.link call on the load of each section (shipping ,billing and payment ) a good idea or use a utag.view call.The requirement is to send out a pageview hit on load of each section
*URL doesnt change on load of each section
*need to pass product data to GA as an enhanced ecommerce
*already set the GA end internal configs of what the steps are
Solved! Go to Solution.
12-18-2018 08:01 AM
I did something similar a while ago.
I added click handler extensions for the "continue" button in each section which updated the data layer with the step name (in page_name) and other interesting information from each step, and then called utag.view() with the updated data layer.
I think I also then click handlers on the closed section headings because you could click back into a previous section to change it.
utag.view will load all the tags as if it is a new page view, using the passed data layer, so if you set up the object correctly then GA will pick up the product information and fire correctly (along with any other appropriate tags)