• Resolved questions4wp

    (@questions4wordpress)


    My website had Universal Analytics running fine, and recently the number of users dropped off a cliff to absolutely 0. What’s very strange is that the impressions are actually still reporting properly (at least, they’re not 0!)

    Below is some more information on my set up, but I have blocked out some of it for privacy. I have filled out the Google Form to provide the full information.

    Within Google Analytics itself I have 2 properties under my given website, one for Universal Analytics (top) and one for GA4 (bottom). The Analytics Account starts with 198, the UA property # starts with 198 as well, and the GA4 property # starts with 363:

    Looking at the UA dashboard for the last 90 days, we can see a steep drop, which is to be expected:

    However, we can see the same drop on the GA4 chart, which is unexpected:

    Within the site’s SiteKit we can see that the total number of impressions & clicks appear to be relatively normal in the last 28 days, but the number of unique visitors is…1?!

    In the plugin settings, under Settings -> Connected Services -> Analytics, I see the following. Note that the UA property correctly starts with 198, the account starts with 198, and the GA4 property starts with 363, all as expected. I should be excluding all logged-in users. GA4 claims the snippet is inserted. From my perspective, all of these settings are correct:

    When I click on the first “Edit in Analytics” button, on the GA4 row, I am brought to the correct property within Google Analytics. However, it states clearly that data collection isn’t active for my site across the top, which is strange. It has a button for “View tag instructions” which basically says to install SiteKit and authenticate, which I’ve done already. At the very bottom-right of the screenshot, you can see that it says “No data received”.

    Any ideas why this is happening, or what I can do to fix it? Again, as soon as I post this issue, I will also be submitting my full Site Health information via the Google Form, for anyone on Google’s side to review. If there’s any more information I can provide here, please let me know.

    • This topic was modified 1 year, 7 months ago by questions4wp.
Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter questions4wp

    (@questions4wordpress)

    @jamesosborne I have just submitted a new response to the Site Health Information form, this time the site URL is a link to a GitHub profile containing the current version of my custom theme. Thank you very much for your help so far!

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for sharing @questions4wordpress. I reviewed your theme and I can see the cause. You have the following applied via a function (in your functions.php file):

    remove_action( 'wp_head', 'wp_enqueue_scripts', 1 );
    remove_action( 'wp_head', 'wp_print_styles', 8 );
    remove_action( 'wp_head', 'wp_print_head_scripts', 9 );

    Remove these and the snippets should appear. Let me know how you get on with the above.

    Note also that if you prefer to not make any changes to your theme, you can manually insert your own Analytics snippet to your theme files. Site Kit will still remain connected, displaying data from the connected property.

    Thread Starter questions4wp

    (@questions4wordpress)

    Wow that’s…actually very weird, I have no idea why the developer added remove_actions for a ton of things. I removed it and it solved all of the issues – thank you very much @jamesosborne !!!

    Plugin Support James Osborne

    (@jamesosborne)

    Happy to help @questions4wordpress, and appreciate the follow up. If you run into any further issues, be sure to reach out. If you have a moment free, please also consider leaving a plugin review once you get a chance to test out the Site Kit dashboard.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘GA4 Not Reporting, Universal Analytics Worked Fine’ is closed to new replies.