Assign an ID value to Button or Form for event tracking with GTM
Is there a way to assign a unique ID value to a button or form, in order to track event goals (conversions). We have several forms on our domain and each with a different objective. We want to separate the result of each form in Google Analytics.
Thank you
0
-
Hi,
sorry for not getting back to you sooner.
You can add an id or CSS class to your button and then use these details to track it on GA: https://jmp.sh/iHPy8LE Here you can find more out: https://www.lovesdata.com/blog/google-tag-manager-button-click-tracking
0
Please sign in to leave a comment.
Comments
1 comment