AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

3.3K members online now
3.3K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Event tracking

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭


Is there any way to track an event of a dropdown value in a form of a website, but the tracking starts only after the form submission?

For example : I have a registration form on my website, User is asked to select a country from a dropdown list. I want to track which value is selected.

Can the tracking start only after the user clicks submit?(p.s- only after clicking on submit. Not when the user selects a dropdown value ). If so can you please share the code?

Thanks in advance 

Re: Event tracking

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭

I think that better way is send needed data through dataLayer (which will send after the form submission) And then you can use for example, custom dimensions in Google Analytics.
About dataLayer:
Have a good day!