I am trying to fire a custom event in Google Tag Manager for a Virtual Page View. I want to be able to track a conversion in a dynamic shopping cart page where the actual URL does not change.
I added the following code for a dataLayer and set it up to fire when the event= VirtualPageView but it's not working.
Any ideas?
dataLayer.push({
'event':'VirtualPageView',
'virtualPageURL':'/thankyou',
'virtualPageTitle':'Thank You'
'conversionValue':'value'
'currencyCode':'currency'
});
VirtualPageView
? - nyuenVirtualPageView
? Also, please post screenshots. - nyuen