[Resolved] Google Analytics data gone after updating GP

Home Forums Support [Resolved] Google Analytics data gone after updating GP

Home Forums Support Google Analytics data gone after updating GP

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1482353
    Taras

    Hi guys,

    My Google Analytics is not displaying any visitor data to my website and I suspect it might be connected to me updating my GP. Have you any idea why this happened and how it can be resolved? I am not 100% that’s the cause but I can think of nothing else. And the data stopped showing after the update.

    Thanks!

    #1482519
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    How was your analytics code added? The only way an update would have removed it is if it was added to the core theme files.

    An update-safe way of adding it would be to use Elements: https://docs.generatepress.com/article/hooks-element-overview/

    You should be able to use the wp_head hook to insert it.

    Let us know ๐Ÿ™‚

    #1483857
    Taras

    Hey Tom,

    I did what you suggested and it worked! Awesome tip man, thanks so much!

    #1484047
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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