Highlighted

GA virtual pageviews on single page checkout

Silver Contributor
Silver Contributor
Hi, I'd like to create GA virtual pageviews on a single page checkout page. The page contains several sections (for billing information, sipping information etc.), but only one is visible at a time and has class=active. Whenever the class changes (from not active to active) I'd like to send a virtual pageview to GA. How can implement such a listener in tealium?
6 REPLIES 6
Highlighted

GA virtual pageviews on single page checkout

Tealium Employee

You will need to call a utag.view (or utag.link) from either a jQuery extension or from the page itself. Documentation can be found here: https://community.tealiumiq.com/t5/utag/utag-link-and-utag-view/ta-p/11888 Many thanks Steve Lake

Highlighted

GA virtual pageviews on single page checkout

Silver Contributor
Silver Contributor
Thanks, I had a look at the documentaion. I am a little familiar with the jQuery extensions. They can trigger events on click, mousedown etc. But I'd like to trigger an event when the following change happens: From:
Highlighted

GA virtual pageviews on single page checkout

Tealium Employee
Sorry, your post seems to have been scrambled by the code that you pasted in. You can also set the jQuery onHandler (1.7 and above) extension to trigger on "show" events. I think that would be what you are looking for.
Highlighted

GA virtual pageviews on single page checkout

Tealium Employee
In case my reply above doesn't show up correctly... Sorry, your post seems to have been scrambled by the code that you pasted in. You can also set the jQuery onHandler (1.7 and above) extension to trigger on "show" events. I think that would be what you are looking for.
Highlighted

GA virtual pageviews on single page checkout

Silver Contributor
Silver Contributor
Thanks. I just saw that option. I can only work with the jQuery clickHandler (1.6 and below). We have only 1.3.2
Highlighted

GA virtual pageviews on single page checkout

Silver Contributor
Silver Contributor
Thanks for your answer. Unfortunately we use the jQuery version 1.3.2. So I will not be able to use the jQuery onHandler.