• Resolved Edith Allison

    (@terragirl)


    Hi, we’re using your plugin to track Woo sales and it’s working perfectly, so first up a big thank you! Very easy to install and use.

    This is not a support request, hopefully not too much off topic.

    We now want to track additional events such as “leads” (contact form submission). Am I correct that your plugin only handles checkout? If yes, am I also correct that the GA tag is injected on all pages by your plugin, so all I need to do is to add an additional event snippet to the page I want to track?

    For reference, with snippet I mean this type of code:

    <!-- Event snippet for Lead conversion page -->
    <script>
      gtag('event', 'conversion', {
          'send_to': 'AW-0000/0-xxx-x',
          'value': 1.0,
          'currency': 'GBP'
      });
    </script>

    And I could achieve this through the code you’ve listed in the documentation here https://docs.woopt.com/wgact/?utm_source=woocommerce-plugin&utm_medium=documentation-link&utm_campaign=woopt-pixel-manager-docs&utm_content=gtag-js#/developers ?

    Many thanks, Edith

    • This topic was modified 3 years, 9 months ago by Edith Allison.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author alekv

    (@alekv)

    Hi Edith

    Am I correct that your plugin only handles checkout?

    Not only. It also sends dynamic remarketing events to Google Ads.

    But, at the moment it doesn’t offer a way to separately track lead form submission.

    am I also correct that the GA tag is injected on all pages by your plugin, so all I need to do is to add an additional event snippet to the page I want to track?

    Yes, you are right.

    I could create a short code for lead conversions for the plugin which you could place easily on a thank you page to which the lead form would redirect too.

    Is that something you are interested in?

    Plugin Author alekv

    (@alekv)

    And I could achieve this through the code you’ve listed in the documentation here

    No. This code would not help injecting the conversion snippet.

    At the moment you would need some plugin that allows injecting JavaScript code.

    If you can wait until tomorrow or maybe next Friday, I’ll implement the short code function.

    Thread Starter Edith Allison

    (@terragirl)

    Hi alekv,

    Many thanks for the quick reply!

    We’re using Ninja Forms so a PHP shortcode probably won’t work as Ninja doesn’t use the WP text editor, but thank you very much for the kind offer! I’ve found a few articles specific to Ninja form conversion tracking and will pursue this further by directly injecting code into our custom theme.

    Many thanks, Edith

    Plugin Author alekv

    (@alekv)

    We’re using Ninja Forms so a PHP shortcode probably won’t work as Ninja doesn’t use the WP text editor

    If you let the Ninja form redirect the submitter (after the submission) to a custom page of your choosing it would work.

    I’ll implement the short code anyway. But if you don’t need it know, probably later then sooner.

    Thread Starter Edith Allison

    (@terragirl)

    Thank you! I can see a shortcode being useful. We’re currrently not redirecting on form submission, but yes, with redirection that would work very well. I will look into modifying our theme directly without shortcode but it’s good to know there will be an alternative available in a future version. Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding additional conversion actions’ is closed to new replies.