How can I track pop-ups form submissions in GTM or GA?

SOLVE
Yurii
Participant

Hi! Does anybody know how to create a tag in GTM to treck pop-ups forms submissions? I use 3 white hats solutions to track general forms, but, unfortunately, it doesn't work for the pop-ups forms. 

0 Upvotes
1 Accepted solution

Accepted Solutions
mark_vande_haar
Solution
Contributor

The click class is 'leadin-close-button' when somebody submits on the pop-up form.

 

If you have more than one pop-up form you'll need to click URL to your trigger that matches the URLs on your pop up.

 

I take it you if you know GTM you can take it from here.

View solution in original post

7 Replies 7
mark_vande_haar
Solution
Contributor

The click class is 'leadin-close-button' when somebody submits on the pop-up form.

 

If you have more than one pop-up form you'll need to click URL to your trigger that matches the URLs on your pop up.

 

I take it you if you know GTM you can take it from here.

View solution in original post

Yurii
Participant

Thanks Mark! This solution sounds more elegant than my one. I simply create two tags for two pop-up forms using a form submission trigger, which is restricted by click IDs that I've extracted from the pop-up forms. I should definitely try your solution.

0 Upvotes
YuryZelianko
Member

Hi,

 

I tried to make it through GTM but it doesn't work. Could you please describe it in details?

0 Upvotes
Andrii23
Member

We have the same problem with pop-up tracking. Does someone resolve this issue?

0 Upvotes
RRichardson
Member

I'm still trying to get popups to work in Tag Manager I've set up a Form Submission trigger with click class leadin-submit, also tried with Click all elements and click class leadin-submit but it's not working. Any ideas.

 

0 Upvotes
KTice
Member

Agree w/everyone here. I identified click class, both for my Sign up button (leadin-button leadin-advance-button leadin-button-primary) and for the submit button (leadin-button leadin-button-primary leadin-primary leadin-submit) on my pop up form and neither is working. I'm trying to set it up in conjuction with a GoogleAd promotion tracking lead sign ups and this is making it awfully difficult. Would be great if there was a way to add the tag information directly into a backend window in hubspot, if that were a thing. Anyone have any ideas?

0 Upvotes
Ella_BTT
Participant

This solution works if you are including a download from your pop-up. For example an ebook download. At the end of the form I take them to a "thank you" page to recieve the ebook. I have added a tracking code to that thank-you URL so that I can track who landed on that page from the pop-up. 

If it's just a contact us request or anything where you aren't offering them something at the end this doesn't work because the user won't necessarily click on the last button after they fill out the form. 

0 Upvotes