I have a website on a subdomain: sub.main.com which has nothing in common with the root domain "main.com".
When I try to view the referrals from the root domain - it isn't there.Somehow Google doesn't include it in referrals report, presumably because it's a root domain of my website. Is there a way to force Google Analytics to count the root domain as an external one?
Related
I created a free hosting account in Firebase and uploaded a single page site. It works
I have a custom Domain with Google Domains. I connected my custom domain and added the two IP address given by Firebase in Google Domain DNS A records. The connection is successful
Problem:
My website is working not working when I access it like http://moonstarinc.com
But it works well for any of the following URLs
www.moonstarinc.com
http://www.moonstarinc.com
I am trying to setup this URL for admob - URL: https://moonstarinc.com/app-ads.txt
You can refer to here:
https://firebase.google.com/docs/hosting/custom-domain#domain-key
Apex domain
Common inputs include:
#
The apex domain name (for example, example.com)
Leaving the Host field blank
Subdomain
Common inputs include:
The full subdomain name (for example, app.example.com)
Only the subdomain portion (for example, app only, and leaving out .example.com)
Only www for the subdomain of www.example.com
I want to exclude all referrals from a specific domain with subdomains
eg.
domain.com
subdomain.domain.com
www.domain.com
Have done this, but I can still see referrals from the specified domain
I have a GoDadddy account with hosting and domains (I know,,, GoDaddy sucks...), but I currently have multiple domains pointing to the same folder, and it has a single PHP page with the GA tracking code for a single domain. Because all the domains point to the same folder in the hosting, I see all visits for all domains as they are for a single domain in the GA panel. Is there a way to find out which visits come from what domain?
Currently GoDaddy has 3 hosting plans. The only two that allows you to have multiple domains are Deluxe and Ultimate.
How you conduct the implementation will affect the way GA reports the data. Now I am going to make the assumption that you have access to all the domains you said you currently have.
This is what you need to do to track your traffic
Check if you are allowed to have multiple Domains.
If Domains are not registered in Godaddy, make sure that all domains and the Primary Domain are pointing to Godaddy DNS or nameservers.
Add all domains as 'addons' domains or additional domains to your hosting account making sure you have a separate folder for each domain.
In each Domain Folder, create a basic HTML (index.html) page and paste the Google Analytic code in the Head section. Repeat this for every Domain.
Create 301 redirects to your PHP page that has the same Google Analytic code that you used for all the pages in 4.
IN Google Analytics Report you should be able to see all the redirected domains show as 'referral'.
Note: Sometimes the redirect might take place before the GA script is loaded and therefore you will not be able to track the referral. If you really care about absolutely all the referral traffic data, I will recommend you to not use 301 redirect but let the pages load and place a JavaScript redirect with a 5 second delay.
I am trying to track subdomains in google analytics tool. But I didn't found setting to on subdomain tracking under admin->tracking info
Subdomain tracking can be set up in how you specify your root domain when you create the tracker object:
ga('create','UA-XXXXX-Y', 'domain.com');
for example, will track domain.com as well as its subdomains.
According to this link: https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain
Tracking users across subdomains does not require any additional
configuration.
I have a website subdomain.domain.com. I created an analytics account for this and included the tracking code. Later I registered a new domain xyz.com and pointed to the same website subdomain.domain.com. In Google analytics report, will the analytics display the traffic from both domains or do I need to make some alterations?
Google Analytics tracks website traffic no matter what hostname is specified in the page URL. You can use the Hostname dimension in the content report to find out.
In your case, depending on the type of hostname redirection you may or may not see the xyz.com in your reports. When you navigate to the xyz.com in browser, pick any page and can see in your browser xyz.com - it will be tracked. If you can see subdomain.domain.com - the last will be tracked.
If you website is accessible via subdomain.domain.com and xyz.com - you may have an issue with cross-domain users and duplicated (inflated count of) users since GA cookie in a browser is set per hostname
I have the same situation where our URL has changed and we are now in a crossover period while both URLs are active.
Without changing the tracking code I am getting our stats as before but I cannot tell in the analytics reports which URL the visitor used to access the site. If that is not of concern to you then you don't need to update your tracking code.
There is a secondary dimension under Content called "Hostname", this will break out your traffic by whether or not it was visited from subdomain.domain.com or xyz.com