: How do I track a pop up in Google Analytics / Tag Manager or Custom JS script We've just overhauled our registration process on our site. When a user registers they are directed to a pop
We've just overhauled our registration process on our site.
When a user registers they are directed to a pop up / light box as opposed to a unique url.
Tracking the conversion funnel was super easy until this change, as goals where assigned through the various entrance and exist points.
Is it possible to somehow track say for example, how many times the light box was closed (ie user does not want to register), or how long the user was on the lightbox? I imagine this would be a case of custom .js script?
Essentially I need this info to pull into Google Analytics. Any ideas?
More posts by @Gail5422790
2 Comments
Sorted by latest first Latest Oldest Best
To track the conversion funnel, with a lightbox, it would be better to use virtual pageviews. (in Google Analytics or in Google Tag Manager). Then you can add the virtual URLS to a conversion funnel and track user behaviour and abandonment.
Closing the lightbox should be an event or a return to the real URL.
Yes... You can use jQuery to track the click on the button
jQuery( function() {
jQuery('#button1').click( function() {
// Use google tracking code here. Use Events
});
});
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.