Support » Plugin: DuracellTomi's Google Tag Manager for WordPress » All Tags are firing twice

  • Resolved vanetreg

    (@vanetreg)


    Hello,

    I have GA, FB and ActiveCampaign tracking codes installed via GTM and your plugin.
    In GTM Preview mode I found all tags are fired twice! It also shows “Page view”, “DOM ready”, “Window loaded” happened twice!
    In plugin settings only these are whitelisted:
    GA, GUA and Custom HTML tags.
    Container code placement is: Codeless injection.

    Maybe related info:
    I track FB Pageviews and Leads, Leads with parameters: content_category, value, currency.
    What is strange, that in Chrome’s Pixel Helper I only see parameters value and currency, but no content_category!
    Also, Pixel Helper shows a yellow warning for the Lead sub-section that FB pixel activated 2 times ( but only here, and not in the PageVieews sub-section!).
    I use a FB Lead tag like:

    <script>
    fbq('track', 'Lead', {
        content_category: 'Contact',
        value: 100.00,
        currency: 'HUF' 
    });
    </script>

    and tag sequencing is set up, I set FB basic pixel to be fired before the lead tracker one quoted above.

    So any hint and help is appreciated,
    thank you!

Viewing 1 replies (of 1 total)
  • vanetreg

    (@vanetreg)

    I found that something, most likely:
    Google Analytics by MonsterInsights plugin
    added GTM code into my theme ( Avada 5.0.3), so I had duplication, so I removed from there and they don’t fire twice now.
    Since the GTM container used here is quite new, I’m sure I didn’t manualy add that into tracking code field.

    • This reply was modified 1 year ago by  vanetreg.
Viewing 1 replies (of 1 total)
  • The topic ‘All Tags are firing twice’ is closed to new replies.