Tagged: google analytics, MailChimp, Tracking
Hey i would like to track the newsletter form submit Button via Google Tag Manager. Unfortunately i cannot find an element google tag manager gets via the trigger..
I would like to put an onclick Event with dataLayer.push onto the submit button.
Could somebody help me, how to do this?
Hi Wanted2b!
Thank you for using Enfold.
This is a related thread but the modification is for the contact form element.
// https://kriesi.at/support/topic/google-analytics-event-tracking-2/
For the newsletter subscription form, try to use jQuery, specifically the .attr() function.
// https://kriesi.at/support/topic/trying-to-activate-event-tracking-on-buy-now-buttons/#post-749751
Regards,
Ismael