[Resolved] Google Analytics no data stream issue

Home Forums Support [Resolved] Google Analytics no data stream issue

Home Forums Support Google Analytics no data stream issue

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1168248
    Anonymous

    Hi there,

    Google Analytics has been embedded following the instructions at https://docs.generatepress.com/article/hooks-element-overview/ and https://generatepress.com/forums/topic/how-to-add-google-analytics-code-to-generate-press/.

    The site is using the “Article” library. Although a site such as http://www.gachecker.com/ validates that the code is present, the Google Analytics dashboard displays that no data is being sent. It has been more than 48 hours (1 week).

    It’s the first library that appears to have the problem.

    What are options are there to resolve the issue?

    #1168439
    Leo
    Staff
    Customer Support

    Hi there,

    There isn’t anything that the theme can do to stop the code from working if it’s the code are added according to David’s instruction here:
    https://generatepress.com/forums/topic/how-to-add-google-analytics-code-to-generate-press/#post-1123300

    The site http://www.gachecker.com/ validates that as well.

    Can you check with Google’s support and see if they can point you in the right direction?

    #1169344
    Anonymous

    Hi Leo,

    The feedback is that the script isn’t being triggered and oddly, it’s the first theme/library to do so.

    #1169427
    Leo
    Staff
    Customer Support

    That was Google’s response?

    The theme itself really can’t do anything to trigger or not trigger that code – it just inserts the code as it is for you.

    Any chance you can check with them to see what would be the reasons why this would happen?

    We haven’t had any other reports on this.

    Thanks 🙂

    #1169924
    Anonymous

    Hi Leo,

    It’s baffling since as you said that it inserts the code. Since it’s not commercial account, it’s limited to the general FAQ as to the reasons it may not work.

    Would you be able replicate the deployment of the theme and Google Analytics at your end to test?

    #1170108
    David
    Staff
    Customer Support

    Hi there,

    See this document:

    https://docs.generatepress.com/article/implement-google-tag-manager/

    i am not seeing the second piece of code on your site? ie the second script that should be added to the wp_body_open hook.

    Without this google tag manager will not work. On the gachecker site you check the Tag Manager view you’ll see it is not firing.

    #1292376
    Giacomo

    Hi David,

    I am experiencing the same problem. I am not using GTM, but the usual GA. What is really weird is that the code seems to be working if I use Edge. No luck with Chrome or Firefox, I also tried incognito mode.

    I setup Google Analytics on tens of websites in the past, but for some reason it isn’t working this time.

    I checked the page source code and, indeed, the entire code is there (between the head tags).

    I am using the “Target” theme, is there any chance some plugin is interfering with the correct functioning?

    #1292674
    David
    Staff
    Customer Support

    Hi there,

    if you can see the GA script in the <head> of the site then there should be no reason why it does not work.

    Do you want to raise a new topic where you can share a link privately and we’ll take a look.

    #2291520
    Alyson

    Same problem here, on 2 sites. I’ve changed dozens of themes and never seen this before using GP

    #2291830
    David
    Staff
    Customer Support

    Hi Alyson,

    i see you have another topic open related to this, we will respond there.

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