Mobile app version of vmapp.org
Login or Join
Gail5422790

: 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

@Gail5422790

Posted in: #GoogleAnalytics

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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gail5422790

2 Comments

Sorted by latest first Latest Oldest Best

 

@Margaret670

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.

10% popularity Vote Up Vote Down


 

@Courtney195

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
});
});

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme