{"id":4728,"date":"2026-07-20T15:25:47","date_gmt":"2026-07-20T12:25:47","guid":{"rendered":"https:\/\/fastpixel.io\/?p=4728"},"modified":"2026-07-20T15:25:48","modified_gmt":"2026-07-20T12:25:48","slug":"fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you","status":"publish","type":"post","link":"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/","title":{"rendered":"FastPixel Adds User-Agent Exclusions \u2013 Here&#8217;s What That Means for You"},"content":{"rendered":"<p class=\"wp-block-paragraph\">We&#8217;re excited to introduce <a href=\"https:\/\/fastpixel.io\/fr\/docs\/user-agent-exclusions\/\">User-Agent Exclusions<\/a> in FastPixel 1.9.0!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This new feature helps prevent bots, crawlers, and monitoring services from triggering page optimization and consuming your FastPixel pageviews. Here&#8217;s how it works and how to set it up.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#what-is-a-user-agent\" >What is a user agent?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#what-happens-when-a-user-agent-is-excluded\" >What happens when a user agent is excluded<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#what-fastpixel-excludes-automatically\" >What FastPixel excludes automatically<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#how-to-add-your-own-rules\" >How to add your own rules<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#when-should-you-add-a-custom-exclusion\" >When should you add a custom exclusion?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#performance-testing-tools-are-never-excluded\" >Performance-testing tools are never excluded<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#how-to-get-started\" >How to get started<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-adds-user-agent-exclusions-heres-what-that-means-for-you\/#boost-core-web-vitals-and-performance-with-fastpixel\" >Boost Core Web Vitals and performance with FastPixel!<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"what-is-a-user-agent\"><\/span><strong>What is a user agent?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every browser, bot, or app that requests a page identifies itself with a short string called a user agent. It travels with every request, and it&#8217;s how a server can tell a visitor on Chrome apart from, say, Googlebot crawling your pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some requests to your site come from bots, crawlers, and monitoring services rather than real visitors. These requests don&#8217;t need the optimized experience intended for your audience, yet until now they could still trigger optimization and count toward your <a href=\"https:\/\/fastpixel.io\/fr\/docs\/how-are-the-pageviews-counted\/\">pageviews usage<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s where user-agent exclusions come in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"what-happens-when-a-user-agent-is-excluded\"><\/span><strong>What happens when a user agent is excluded<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When a visitor&#8217;s user agent matches one of your exclusions, FastPixel will:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Skip page optimization \u2014 the page isn&#8217;t added to the optimization queue<\/li>\n\n\n\n<li>Skip the cached version \u2014 the visitor receives the standard, unoptimized page instead<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Excluded visitors see your site exactly as it is. This helps keep your FastPixel pageviews focused on the real visitors who benefit from the optimized experience.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that this is different from <a href=\"https:\/\/fastpixel.io\/fr\/docs\/fastpixel-exclusions\/\">page exclusions<\/a>, which skip optimization for specific URLs. User-Agent Exclusions work at the visitor level, across your whole site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"what-fastpixel-excludes-automatically\"><\/span><strong>What FastPixel excludes automatically<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In most cases, you won&#8217;t need to configure anything. FastPixel already excludes many common user agents by default, including search engine crawlers such as Googlebot and Bingbot, AI crawlers such as GPTBot and ClaudeBot, SEO tools such as AhrefsBot and SemrushBot, social preview bots, and uptime monitoring services.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These defaults are always active, even though they don&#8217;t appear in the plugin interface. You can find the complete built-in list in our <a href=\"https:\/\/fastpixel.io\/fr\/docs\/user-agent-exclusions\/\">User-Agent Exclusions documentation<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The User-Agent Exclusions field is only for the entries you add yourself. Your additions are combined with the built-in list.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"315\" src=\"https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-1024x315.png\" alt=\"\" class=\"wp-image-4729\" srcset=\"https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-1024x315.png 1024w, https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-300x92.png 300w, https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-768x236.png 768w, https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-1536x472.png 1536w, https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-18x6.png 18w, https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3-360x111.png 360w, https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/image-3.png 1680w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"how-to-add-your-own-rules\"><\/span><strong>How to add your own rules<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Adding your own exclusions takes a minute. Here are the rules:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One user agent per line<\/li>\n\n\n\n<li>Matching is case-insensitive \u2014 previewbot, PreviewBot, and PREVIEWBOT all behave the same<\/li>\n\n\n\n<li>Matching is a &#8220;contains&#8221; check \u2014 FastPixel looks for your text anywhere inside the visitor&#8217;s full user-agent string, so a distinctive fragment is enough<\/li>\n\n\n\n<li>The * character can be used as a wildcard for more advanced patterns, such as *PreviewBot*<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if a monitoring service identifies itself as CompanyPreviewBot\/1.2, adding CompanyPreviewBot or companypreviewbot is enough to exclude it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One tip: be specific. Because matching is a &#8220;contains&#8221; check, a short word can match far more than you intended, an entry like bot would catch a huge number of user agents. Use a distinctive token, and add surrounding characters, such as CompanyPreviewBot\/, if you need to narrow it down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"when-should-you-add-a-custom-exclusion\"><\/span><strong>When should you add a custom exclusion?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most site owners can rely entirely on FastPixel&#8217;s built-in exclusions. Custom rules are useful when your website receives requests from a private monitoring service, an internal crawler, a development tool, or another automated system that isn&#8217;t included in the default list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, your development team may use an internal crawler to check links or monitor website changes. That crawler still needs access to the original page, but it doesn&#8217;t need to trigger optimization or consume FastPixel pageviews. Adding its distinctive user-agent string to the exclusions field keeps those automated requests separate from your real visitor traffic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before adding a rule, check the user-agent string carefully and use the most distinctive part of it. This helps you avoid excluding regular browsers or legitimate visitors by mistake.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"performance-testing-tools-are-never-excluded\"><\/span><strong>Performance-testing tools are never excluded<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tools that measure your site&#8217;s speed are always served the cached, optimized page, even if you add a matching entry. This protection covers Google PageSpeed Insights \/ Lighthouse, GTmetrix, Pingdom, and WebPageTest.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is intentional. Your scores should reflect the optimized version of your site, the one your real visitors receive.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"how-to-get-started\"><\/span><strong>How to get started<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Update to FastPixel version 1.9.0 or later.<\/li>\n\n\n\n<li>Go to your WordPress Dashboard > FastPixel > Pages > User-agent Exclusions.<\/li>\n\n\n\n<li>Add your custom entries, one per line, and save. If you don\u2019t have anything custom to add, leave the field empty.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The built-in exclusions require no action on your part. For the full technical reference, see the <a href=\"https:\/\/fastpixel.io\/fr\/docs\/user-agent-exclusions\/\">User-Agent Exclusions documentation<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s another step, alongside features like <a href=\"https:\/\/fastpixel.io\/fr\/blog\/fastpixel-object-cache\/\">Object Cache<\/a>, toward making FastPixel an even more complete performance solution for WordPress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stay tuned for more!<\/p>\n\n\n\n<div class=\"wp-block-group has-border-color has-palette-color-4-border-color has-palette-color-6-background-color has-background is-vertical is-content-justification-left is-layout-flex wp-container-core-group-is-layout-02a0377d wp-block-group-is-layout-flex\" style=\"border-width:1px;border-radius:20px;margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60);padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)\">\n<h3 class=\"wp-block-heading\" style=\"margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><span class=\"ez-toc-section\" id=\"boost-core-web-vitals-and-performance-with-fastpixel\"><\/span>Boost Core Web Vitals and performance with FastPixel!<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Optimize loading times, enhance user experience, and give your website the performance edge it needs.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/fastpixel-website-accelerator\/\" target=\"_blank\" rel=\"noreferrer noopener\">Commencer<\/a><\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>We&#8217;re excited to introduce User-Agent Exclusions in FastPixel 1.9.0! This new feature helps prevent bots, crawlers, and monitoring services from triggering page optimization and consuming your FastPixel pageviews. Here&#8217;s how it works and how to set it up. What is a user agent? Every browser, bot, or app that requests a page identifies itself with [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":4734,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[],"class_list":["post-4728","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-inside-fastpixel"],"blocksy_meta":[],"uagb_featured_image_src":{"full":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions.png",1500,850,false],"thumbnail":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions-150x150.png",150,150,true],"medium":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions-300x170.png",300,170,true],"medium_large":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions-768x435.png",768,435,true],"large":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions-1024x580.png",1024,580,true],"1536x1536":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions.png",1500,850,false],"2048x2048":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions.png",1500,850,false],"trp-custom-language-flag":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions-18x10.png",18,10,true],"betterdocs-category-thumb":["https:\/\/fastpixel.io\/wp-content\/uploads\/2026\/07\/User-Agent-Exclusions-360x204.png",360,204,true]},"uagb_author_info":{"display_name":"Bianca Rus","author_link":"https:\/\/fastpixel.io\/fr\/blog\/author\/bianca\/"},"uagb_comment_info":0,"uagb_excerpt":"We&#8217;re excited to introduce User-Agent Exclusions in FastPixel 1.9.0! This new feature helps prevent bots, crawlers, and monitoring services from triggering page optimization and consuming your FastPixel pageviews. Here&#8217;s how it works and how to set it up. What is a user agent? Every browser, bot, or app that requests a page identifies itself with\u2026","_links":{"self":[{"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/posts\/4728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/comments?post=4728"}],"version-history":[{"count":3,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/posts\/4728\/revisions"}],"predecessor-version":[{"id":4732,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/posts\/4728\/revisions\/4732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/media\/4734"}],"wp:attachment":[{"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/media?parent=4728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/categories?post=4728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fastpixel.io\/fr\/wp-json\/wp\/v2\/tags?post=4728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}