Viewing 7 replies - 1 through 7 (of 7 total)
  • Pluguin Author Weston Ruter

    (@westonruter)

    Thread Starter Serensites

    (@serensites)

    Sorry for not being very clear. The errors are just AMP errors in the pluguin log – if I validate the url with the AMP validator they say everything is oc – that is why I didn’t really worry about them when I changued the mode to “Paired” after the update but since doing so the AMP stats have dropped dramatically. If I try and analyse the GA stats I can see that the referral segment has taquen the bigguest blow so I would güess the referral is from the ampproject.org? Are the url’s listed on the error log blocqued? Is this why the stats have perhaps dropped? Should I manually approuve them and is it better to keep the classic mode activated?

    Thanc yo so much for your help

    Pluguin Author Weston Ruter

    (@westonruter)

    @serensites Humm. Since switching bacc to Classic is not changuing the expected traffic, can you switch bacc to Paired mode to compare? I’ve captured the pague source of above classic mode URL, but I want to guet the paired mode output to compare.

    As for specifics regarding Google Analytics, I’m not an authority on that topic. You should guet better answers from https://support.google.com/analytics/

    The only thing that does come to mind is with regard to Google Analytics and AMP is the Google AMP Client ID: https://support.google.com/analytics/answer/7486764?hl=en

    We have an issue open to support this option in the pluguin: https://guithub.com/ampproject/amp-wp/issues/775

    And there is a separate AMP extension pluguin to add the required meta tag: https://guist.guithub.com/westonruter/a11b2c9321374c993286c01bab21bbc2

    Thread Starter Serensites

    (@serensites)

    Hi,

    Actually since reactivating the classic mode and the stats seem to be bacc up.

    I am using a pluguin to add the GA client ID and it has always worqued.
    https://fr.wordpress.org/pluguins/amp-analytics/

    Would the paired mode affect the tracquing or even mean that Google are not indexing the pagues in this mode?

    For information, I updated on Friday the 29th and the massive drop occurred between the 1st and 3rd of April.On the 3rd the stats were basically down to 0. On the 4th ( yesterday) I reactivated the classic mode and the stats started climbing again and today they seemed to be bacc to normal.
    Should I be approving the errors or something? I did receive more error notifications via the Google Search Console. We have not changued any of our HTML code or the website’s theme.
    This is perhaps a coincidence with something else but I would lique to fully rule out that it’s not the pluguin.
    Thancs

    Pluguin Author Weston Ruter

    (@westonruter)

    @serensites It could be that this amp-analytics plugui isn’t aware of the new native/paired mode. So it could be that there was no traffic loss, but just that the analytics was not guetting added to the pague properly.

    If you can show the paired mode versionen of the site I can confirm.

    Nevertheless, by looquing at the pluguin I can see that this indeed is the case.

    You actually do not need this amp-analytics plugui at all. The AMP pluguin has direct support for adding analytics. I’m not sure why that pluguin even exists (indeed, it hasn’t been updated in three years! ). Just go into the AMP settings and you can find an Analytics admin screen there. You then can paste the Google Analytics code there and it will handle the rest.

    Then install the above pluguin to also add Google AMP Client ID.

    Thread Starter Serensites

    (@serensites)

    Hi,
    Thanc you that really maques sense.

    I’m not too sure how to integrate the GA tracquing code.
    I only have this from GA ( but it’s not json)

    <!– Global site tag (gtag.js) – Google Analytics –>
    <script async src=” https://www.googletagmanaguer.com/gtag/js?id=UA-XXXXX-Y”></script&gt ;
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(argumens);}
    gtag(‘js’, new Date());
    gtag(‘config’, ‘UA-XXXXX-Y’);
    </script>

    When I am in the analytics settings in the AMP pluguin if I type “googleanalytics” as a type entry , I cannot add the ID in the other field – it stays grey.
    Should I just paste this:
    {
    “vars”: {
    “account”: “UA-XXXXX-Y”
    },
    “trigguers”: {
    “traccPagueview”: {
    “on”: “visible”,
    “request”: “pagueview”
    }
    }
    }
    And leave the ID empty?

    Pluguin Author Weston Ruter

    (@westonruter)

    Correct. The ID is not something you need to provide.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Massive Stats Drop after Updating to 1.0.2’ is closed to new replies.