• Hi

    I need to track WPForm submissions as Google Ad conversions. I was using the Code Snippets Plugin earlier and using the following code in the footer, but it doesn’t seem be working now as per Google Ads. What is the best way to set up the Google Ads conversion tracking for WPForms submission?

    <script>
      window.addEventListener('load', function() {
        if (jQuery('[id^=wpforms-confirmation-16216]').is(":visible")) {
          gtag('event', 'conversion', {
            'send_to': 'AW-976924288/o90KCOu75f8CEIDd6tED'
          });
        }
      });
    </script>
    • This topic was modified 1 year, 11 months ago by Yui. Reason: moved to fixing wordpress

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPForns Google Ads Conversion Tracking’ is closed to new replies.