• Hi,

    Apologies if this is so obvious, but I am about to activate your plugin for the first time (for using standard e-commerce) and just want to check a couple of things first:

    1. I will need to remove both the UA and GTM script already inserted in the header section to allow the plugin to insert them (or do I remove the GTM code only)? Should I remove the iframe GTM snippet above the body also or does the plugin not add this to capture users blocking javascript?

    2. The plugin will create the necessary data layer variables and insert above the GTM script so that all that is required from my end is to create the tag in GTM and set to trigger with the custom event of the transaction (e.g. “gtm4wp.orderCompleted”)

    Many thanks for your help and in advance for the plugin!

    Matthew

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    1. yes, that is correct, all manually added analytics.js, gtag.js, GTM snippet (both the regular and the iframe code) has to be removed

    2. yes, that is correct too ??

    Thread Starter thisdayandage

    (@thisdayandage)

    Worked a charm, thanks for your help and plugin!! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding data layer and removing gtm snippet’ is closed to new replies.