Google Analytics.js > track data in a website reachable by multiple domains - google-analytics

I can't find this answer in the official documentation.
I'm tracking google analytics data on mycustomerwebsite.com
But the website is also working and reachable in seofriendlydomain.com
Website is the same, so I include analytics.js data in both of them.
My customer asks, to know how much traffic comes from each domain,
not needing complete data but only few stuff like % of incoming visitors or number.
I found similar topics:
Google Analytics multiple domains one website
Why there is no answer ? is there no solution ?

Related

Google Analytics: Which domains are sending data

Is there a way to tell which sites my Google Analytics tracking code is implemented on? I am suspecting it may have been used with different micro landing pages with different domains and sub-domains. (Our developers were testing a cross domain tracking but did not went as expected)
I could not figure out where to see this on my GA reports, tried to search it but all ends up explaining referrals list which I am not looking for:(
You can check what Hostnames are sending data to the GA reports for a Property, via the Audience > Technology > Network report. Change the Primary Dimension from Service Provider to Hostname.
Filters are not retroactive, so you can instead create and apply a Segment based on Conditions to Filter Sessions Include based on Hostname that exactly matches yourdomain.com.
Doing this will allow you too also view the historical data in your reports in relation to valid Hostname
More info on building segments from the GA Help Center
https://support.google.com/analytics/answer/3124493?hl=en

Tracking and setting goals referral sites using Google Analytics

Using Google Analytics is it possible either by using goals or creating a custom chart to track month by month how much traffic a referal network site passes to my website?
I'd like to measure the traffic source from a paid directory service, let's say, Yell - so I want to see how much traffic each month comes to me from their site and ideally set a monthly target so I can monitor this ongoing.
Any help or direction with this would be very helpful.
Thanks
Goals are not necessary for this. Simply ask the referring website to add utm parameters to all links on their domain that point to your website. So if your website is www.example.com, any links on their website pointing to your domain would be www.example.com?utm_source=yelp&utm_medium=affiliate&utm_campaign=summer_2017. Once that is done, you would just check the Acquisition > All Traffic > Source/Medium report and you should see a row for "yelp/affiliate". For that row, one of the columns will be sessions, which tells you how much traffic they sent you for the selected time period. More info on campaign tracking can be found here: https://support.google.com/analytics/answer/1033867?hl=en

Why aliexpress is advertising my website and referring?

We are running a website(due to security reason cannot disclose the name until we find this solution) and we keep on getting referral link on our analytic account(see image) why would aliexpress and other sites would ask visitors to visit our website, is our application compromised so they are using our website? or this is Chinese being Chinese
This is clearly referrer spam and doesn't correspond to any traffic to your Web site. The spammers basically send fake pageviews directly to Google Analytics (using randomly chosen property IDs) and their aim is to trick you into following the referrer URLs. Some time ago I wrote an article that explains this in depth and that discusses different approaches to eliminate that referrer spam from Google Analytics:
http://veithen.github.io/2015/01/21/referrer-spam.html

How do you setup a Google Analytics account for a website that already has the tracking code?

I have FTP access and am re-designing a website and I want to see historical traffic data from their Google Analytics, but they do not have a Google Analytics Account and can not get in touch with their last web person who set it up.
The tracking code has been in place for several years. There are a lot of articles about how to add Google Analytics code to a website but how do you setup a Google Analytics account with tracking code that is already there?
The best way is to ask person who set it up. But if it is impossible - here is the article, which help You - http://savvydealer.com/reclaim-your-google-analytics-account/
This is the only one way.
There are 2 options,
Ask for the Authoritative person to add you as an Admin, so you can easily get access. If this option may not possible then,
You can replace old tracking code with new tracking code.

Ban a URL from showing up in Google Analytics

All,
There is a website that doesn't seem legitimate that and keeps showing all of these page views in my google analytics. Is there a way to ban certain URLs from being processed in google analytics?
You can make an IP address not show up by adding it to a filter.
Please look at http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55481, even though it talks about excluding internal addresses, it should work well as a guide how to do it with the "difficult" site too.
Edit: To filter on referrals you need to create a custom filter.
See http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55492 for a guide.
http://support.google.com/analytics/bin/answer.py?hl=en&topic=1034830&answer=1034842 talks specifically about excluding referrers.
Note that the filters will only act on future data, the referrals that are already collected will still show up.

Resources