[Resolved] Google Analytics showing twice

Home Forums Support [Resolved] Google Analytics showing twice

Home Forums Support Google Analytics showing twice

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2287536
    Karen

    Hi,
    I added my analytics code in the elements section with a hook. but for some reason when using the google chrome debugger the code is registering twice. Do you know what could be the cause of this?

    #2287572
    David
    Staff
    Customer Support

    Hi there,

    did you use any plugins or other functions previously for adding your GA codes ?

    #2287578
    Karen

    A long time ago. But I have removed that plug-in.

    #2287590
    David
    Staff
    Customer Support

    I see a comment for a Floodlight Tag in your site, is that in the Hook Element ?

    #2287592
    Karen

    Yes, that was a tag given to me by an advertiser.

    #2287606
    David
    Staff
    Customer Support

    Could you post some screenshots of the hook elements you have? I need to see the code inside them. So i can eliminate each one from what i can see on the site.

    #2287615
    Karen

    Here just log in -TempUser
    mtTemp2022$

    #2287658
    Ying
    Staff
    Customer Support

    When I disable the hook element which contains the Google Analytics code, there’s still one in the site head.

    So there’s a 2nd one coming from nowhere.

    Can you try disabling all your plugins except GP premium to test?

    #2287702
    Karen

    ok – done

    #2287720
    Karen

    I deactivated everything but the GP premium and it still showed two in there. I deactivated GP and nothing came up. It has to do with the GP Premium. Do I have the hooks set up correctly? I have UA and G4 in the same hook is that the issue?

    #2287746
    Ying
    Staff
    Customer Support

    It seems theGoogle Analytics- UA and Google Tag Manager insert a part of the same script.

    I think you can disable the Google Analytics- UA hook.

    #2287756
    Karen

    Thank you! Good catch. I think it is working now.
    g

    #2287766
    Ying
    Staff
    Customer Support

    You are welcome 🙂

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.