• I have been given some code by google to track when someone clicks on an google ad and then fills in a form, not sure what the [emailVariable] is, (please refer to the code below) thought i could inspect the page to find but dont seem to be having any luck

    <script> var ecData = { "email": '[emailVariable]', }; window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'event': 'formSubmit', 'ecData': ecData }); </script>
    // Please replace [emailVariable] with the variable that tracks the email from the form and add the customized code on the back end of the thank you page//
    • This topic was modified 1 year, 6 months ago by whenwebsiteswork.
    • This topic was modified 1 year, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    I have been given some code by google to track

    Its best to ask at google support where you got that code from.

Viewing 1 replies (of 1 total)
  • The topic ‘Google Adwords form tracking’ is closed to new replies.