Contents
Does Google Analytics work on subdomains?
The Google Developer site for Google Analytics has very few references to subdomains. A search for “subdomains” points you to documentation for cross-domain tracking, and cookie domains. When using automatic cookie domain configuration, your users will be tracked across subdomains without any extra configuration.
How do I filter Google Analytics with subdomain?
Add View Filters Select “Custom” for the Filter Type. Change the Filter Type to “Include.” Change the “Filter Field” to “Hostname.” Enter the subdomain you want to track in the “Filter Pattern” section and remember to include backslashes before every period.
What is Cookieless domain?
Any website needs a cookie-less domain. This (sub)domain is typically called “static”. It is used to serve Javascript, CSS, images and other static content. This argument may be counter intuitive, since cookies are small and you would not expect them to have a significant impact.
How does Google Analytics work and how are cookies used?
Does Google Analytics use cookies? Google Analytics is a cookie based web analytics platform. It sets multiple cookies (including _ga, _gid and _gat) and it “uses cookies to identify unique users across browsing sessions”. This is done “to remember what a user has done on previous pages / interactions with the website”.
Here’s how you can implement the GDPR cookie consent prompt on your website if you’re using a cookie-based web analytics platform such as the Google Analytics: Remember not to block your visitors from seeing your page with one of those cookie walls that you may have seen on some websites.
Are there any browsers that block Google Analytics?
In recent years, mainstream browsers such as Brave and Firefox have blocked Google Analytics trackers and third-party cookies by default. On top of this, millions of web users have installed different adblocking browsing extensions such as the uBlock Origin. All these block Google Analytics tracking too.
How does a cookie work on a website?
Web cookies are small pieces of data that websites place on the devices of people browsing the web. Web browsers then store these cookies and can send them back to the website on the next visit. Cookies can be read by whoever sets the cookie and are a mechanism websites use to identify a user.