• Resolved piccart

    (@piccart)


    hello!

    on my site I already have GTM set up which fires a number of tags like ads and such, but it also loads facebook pixel script and the GA Universal tracking.

    I would assume that if I want to use the plugin and add the pixel and GA integration, I will have to remove those 2 tags from my GTM. is that correct?

    though I tried and I can see that your plugin is adding scripts like these

    <script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X&l=dataLayer&cx=c"></script>
    <script async="" src="//www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X"></script>

    but then I also have my own gtm scripts like this
    <script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXX"></script>
    and I have to keep them because they handle all the other things…

    in Google Tag Assistant I then see 2 containers, one for GA and one for GTM…

    Is this the correct setup and the expected behaviour?
    Isn’t it going to be bad if I have duplicated GTM scripts?

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PixelYourSite

    (@pixelyoursite)

    Hello,

    You can’t mix the two, so if you want to install a tag with our plugin, don’t install it with anything else. Don’t add anything related to that tag in GTM.

    As for what you see with Google Tag Assistant, yes, it’s normal.

    Thread Starter piccart

    (@piccart)

    thanks for the super quick reply!

    ok so just to be sure, the correct setup is to:

    1. remove the facebook pixel and the GA script from my GTM setup
    2. add the pixel ID and the GA Universal ID in your plugin

    in that way my GTM will still work and fire all the ads and other tags, but then your plugin will handle FB Meta and the GA events. Is this correct?

    Plugin Author PixelYourSite

    (@pixelyoursite)

    Yes, it seems fine.

    The golden rule, don’t mix them.

    Thread Starter piccart

    (@piccart)

    ok, it seems to be working correctly indeed!

    thanks very much for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to set-up if I already have GTM?’ is closed to new replies.