Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1305921

    Greetings,

    I have problems viewing the statistics in google analytics, however I can see all the visits in jetpack, I’m using the new version of google analytics G4, I put the tracking code but the visits don’t show, I don’t know if the problem is cookies.

    I need your help please.

    #1306108

    THe problem is since I update 4.8.2 version

    #1306119

    Hi,

    Thank you for the inquiry.

    The google analytics script seems to be working properly when we checked the site as shown in the screenshot below.

    // https://postimg.cc/Cnwpxzss

    This is a post request that sends data to google servers containing info about the current visit.

    Best regards,
    Ismael

    #1309630

    Hi
    The problema continue with google analytic,

    I added the scrpit in google services:

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

    gtag(‘config’, ‘G-XXXXXXX’);
    </script>

    but:
    Google Tag Assistant Legacy says : Invalid or missing account ID

    Please, I need your help with that, I updated the theme the last version.

    #1309653

    Hi,

    It is still working properly on our end. Please check the screenshot below.

    Screenshot: https://imgur.com/Jq9aBLa

    Where do you see the error?

    Best regards,
    Ismael

    #1309850

    Hey Ismael,

    We are having issues just described like this on our site too. Everything on GA end says it is linked and verified, but no realtime data is transmitting after adding the code to the Enfold theme Tag ID.

    This happened when we updated from an older Enfold version to the newest.

    #1309870

    Exactly that is the problem, the code is well implemented and verified, but in Google Analitycs the information does not arrive

    #1309934

    Hi,

    Try to install the following browser extension, then check the browser console. This should return information about the analytics script.

    // https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna/related?hl=en

    The theme properly renders the analytics script as you can see in the screenshot above, so the issue might related to how the the analytics script has been setup. Unfortunately, we will not be able to provide further information about that. Is it working when you use a different analytics plugin?

    Best regards,
    Ismael

    #1309960

    Hi Ismael,

    I have just raised an issue regarding the New G4 track codes when i saw this post. In 4.8.3 release the new G4 track codes break the Cookie Consent Modal (this has happened before with a previous Enfold release).

    When a new G4 tag is added to Enfold in the tracking code box, Cookie control does not work and the script gets loaded anyway.

    I can still see data in the Analytics console though but there is definitely a bug with the latesg G-XXXXX tags.
    My post is here if it helps:

    I tried the same sites with an old UA-XXXX code and it works OK. So I can see a problem with new G4 G-XXXXXX codes.

    #1310022

    Hello,

    I already found the problem the WP Rocket plugin is blocking traffic in google analytic.

    Do you have any solution to this problem?

    #1310048

    Possibly!

    In WP Rocket try adding analytics.js and gtag.js to the exclusion list in the JS settings.
    Also add jquery.min.js if you run into any other problems.

    If you defer all inline JS you may be accidently deferring Enfolds Cookie Consent Modal which normally loads in the <head> section of each page. This will probably stop it working properly.
    This may also be defering the track code.

    Hope this helps :)

    • This reply was modified 3 years, 4 months ago by thinkjarvis.
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.