• Resolved sandeld

    (@sandeld)


    Every time I run a pagespeed test, whether from your plugin or directly from the website, it registers as a hit in Google Analytics. Surely there must be a way for two design groups at Google to figure out how to prevent this.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out, I’ll certainly pass on your feedback to the team. Feel free to also file a issue on the plugins GitHub repository if you feel this is a configuration option within Site Kit that is important to you.

    You may be already aware but at present you can configure a filter for any property within Analytics in order to exclude such traffic.

    On the plugins side we’ve also included the “View” option, which you can use to apply that filter to view traffic without the PageSpeed Insights and other bots not counted.

    Going forward Google Analytics 4 also exclude such bots by default:
    https://support.google.com/analytics/answer/9888366

    You can view this blog post on the plugins website in relation to integrating a GA4 property. As more users migrate to Google Analytics 4 we’ll provide further integration within the plugin going forward.

    Let me know if you have any further queries on this and I’d be happy to assist.

    Thread Starter sandeld

    (@sandeld)

    You may be already aware but at present you can configure a filter for any property within Analytics in order to exclude such traffic.

    Where is that listed in the current GA settings? (Not GA4) It’s not currently listed in my filter options.

    I’ve tried multiple filtering methods using URI and UTM codes, and none of them seem to work with PageSpeed. With GTMetrix, yes.

    And yes, I will be updating to GA4 shortly, but for right now, I’m pinging my site like crazy trying to optimize it, which is higher on my priority list than GA4.

    Plugin Support James Osborne

    (@jamesosborne)

    Where is that listed in the current GA settings? (Not GA4) It’s not currently listed in my filter options.

    I’ve created a screenshot here of how to navigate to the settings. You can also check this Google Analytics Help Center article.

    If you have any difficulty applying this to your Site Kit property let me know, the “Views” option is where you apply the created view.

    I’ve tried multiple filtering methods using URI and UTM codes, and none of them seem to work with PageSpeed. With GTMetrix, yes.

    I haven’t tested out the various measurement tools unfortunately. Have you tried posting the question to the product experts using the Analytics Help Center?

    And yes, I will be updating to GA4 shortly, but for right now, I’m pinging my site like crazy trying to optimize it, which is higher on my priority list than GA4.

    Understood, if you do decide to upgrade and run into any trouble with Site Kit integration be sure to let us know.

    Thread Starter sandeld

    (@sandeld)

    I’ve created a screenshot here of how to navigate to the settings. You can also check this Google Analytics Help Center article.

    Ah, yeah, I’ve had that checked from the beginning. The two hits from PageSpeed still show up in the real-time report.

    The only thing I found in the Google Analytics forums is this, which is still unsolved and unanswered by anyone from Google.

    Thread Starter sandeld

    (@sandeld)

    I was finally able to get it to work using this help doc and entering developers.google.\com in the Filter Pattern field.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for sharing, very interesting. I would have expected that to account for PageSpeed Insights. I will however keep a note of this from my side should other users ask the same question. I recall another user asking a similar question previously.

    Thanks again for sharing. I’ll also pass on your initial query on with the team.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Prevent Pagespeed Tests from being tracked in Google Analytics’ is closed to new replies.