My GA tracking code is being referenced on another persons website. I am currently tracking several domains/sub-domains in one profile. Is there a way to create a list of allowed domains for reporting and data collection purposes?
Go in to Google Analytics, at the bottom click on Filter Manager. Add a new filter, with the type "Exclude all traffic from a domain" and enter the other person's domain name. Select your website profile and save.
Could be they have a similar account number and haven't realized that they are using yours instead. Boy, hope they're not getting paid for analytics by a client. That would be most embarrassing. :)
You can setup an Include filter instead of an Exclude filter.
Create a regexp with all the domain and sub domain names on which you run your UA number :
^www.domain1.com|^www.domain2.com$
This way you are sure to only get your data.
If you use e-Commerce transactions, they cannot be filtered out by hostname: you need to setup a filter on the transaction ID, matching the format of your transaction IDs.
Related
I'm seeing entries in my analytics data for pages that no longer exist.
This could be developers looking at legacy versions of a site, it could also be triggered by something like wayback machine.
Is there a way to either identify what hosts an analytics tracking pixel is being triggered on, or restrict analytics to only execute on either a set of domains/hosts or ip address
LinkedIn campaign manager and Hubspot have features where you can tell the tracking script what domains to include/exclude
This is different from excluding ip addresses when setting up filters
Thanks
you can use filters on view level (Universal Analytics, not GA4) in order to exclude or include specified domains to ga data. Keep in mind, adding or removing filters work for new collected data only. Maybe add an additional view, so one view contains all data (based on your ga setup). With this solution GA collects data but will not show the data in the filtered view.
In order to fire the ga tag on a specified domain, specify the host in the trigger in Google Tag Manager, if it is implemented on page. This setting the tag will not be fired on other domains.
If there is no Tag Management on the page, you can check the domain using js before firing the ga script.
Keep in mind, that it is possible to send data to GA without fireing the GA tag by using Measurement Protocol. So if a lot of spam data appears in the interface, may add additional filters to exclude this data aswell.
In Google Analytics, I have navigated to All Accounts-> SomeDomain.
I see a lot of traffic to that domain.
However, most pages listed there are from another domain of mine.
Real-Time for example shows this:
This is hilarious because this page doesn't exist on that domain.
I thought that it shows only traffic to the domain that I have selected above after "All accounts".
Is that not correct?
Or does anybody know any situation where this might happen?
This goes on since months already.
My GA is managed via GTM.
I don't use any CMS.
In GTM, I have a GA Page View Trigger:
I don't see where I could have made a mistake.
Does anybody do?
Thank you.
Create a custom report with dimension Hostname and metric Sessions (for example). You'll see what domains send data to your GA Property.
May be somebody stole code of your site (including trackers).
You can filter alien domains in GA settings for View.
UPD. Lookup table to push GA ID's depending on Hostname.
We are currently using Marketo for our landing pages but it is not the same domain as our company site. We are also using Google Analytics.
We have used this guide to tie our Analytics session to our anonymous or known Marketo record by inserting the Marketo User ID as a Google Analytics User ID and added the Marketo User ID dimension & set the scope as User.
Per this article, if we would like to have our Lead ID be recognized on non-Marketo landing pages, like our Corporate website, that we will need to do some extra API connections. Has anyone done this with success? I found that there is some Cross Domain Sub-Domain Tracking located here.
Would I only need to tie the visit to our corporate site to the Marketo Sub-Domain site visit as stated in the link above, which would then be tied to the MarketoID dimension that we just made shown in the first link provided?
Not sure what to do to make this happen or if it is as simple as doing the cross domain sub-domain tracking.
Apologies if I am not making any sense.
Thank you so much!
I'm not sure I understand your question entirely.
Are you trying to link/merge a known Marketo record on one domain to an anonymous Marketo record on another domain, and then pass that single Marketo record ID to Google Analytics?
This would involve matching the Munchkin cookies on both domains to Marketo records, probably via the REST API, then merging the two records.
Once you have merged the records from the two domains, you could pass this single Marketo ID to Google Analytics, using the same ID for both domains.
Resources:
http://developers.marketo.com/javascript-api/lead-tracking/api-reference/#munchkin_associatelead
http://developers.marketo.com/blog/get-a-visitors-cookie-id-and-then-query-associated-lead-data/
You can develop a javascript that capture the GA ID and MKTO cookie and store them in a databased. Then, sync the database with mkto and append the GA ID to the lead record.
We've developed a tool that does that automatically, without any coding and allows you to track leads/visitors cross devices and domains.
Check it out: https://gapidu.com/
There are multiple profiles on my website and each user is managing his/her profile himself. I am trying to find the most efficient way to present analytics of each profile to its owner. Here are 3 ways I found:
Record each and every hit made on a profile page against that profile. This is not just count of hits, this requires to record IP, country, referrer, search terms etc. against each hit. This would require me to manage a huge database as there would be a lot of hits on each page. And a lots of processing on this database. Even if I have to de this, what database is recommended for such use?
Use Google Analytics on each page. But I am not sure that Google Analytics provide an API to fetch Analytics for individual pages.
Use some open source solution like piwik. Again I'm not sure if they provide per page analytics or not.
Please suggest the pros and cons of using each approach.
Update: More explanation - Think of it like a facebook page where each user can see hits on his page. What solution you'd suggest?
For Piwik, you can create a site id for each user, because you are allowed unlimited site ids with Piwik. You can can use a tracker with that user siteid, so when your member logs in, they get data only on their pages. You might also want to look at using custom variables and use the Piwik API to filter data.
Check here for info on multi-tracker: http://piwik.org/docs/javascript-tracking/#toc-multiple-piwik-trackers
Using the Google Analytics API I would like to display the domain associated with each GA profile. Is this possible or is there another way to do it? I have been unable to find any documentation for the domain.
http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html#accountResponse
http://code.google.com/apis/analytics/docs/mgmt/mgmtFeedReference.html#profileFeed
I can't use profileName because depending on how the user has their GA account setup, it may just be a string and not a domain.
One thing you might do is perform a query using ga:hostnames as the dimension and either ga:visits or ga:pageviews as metrics. This will yield a chart of the host name (what is in the browser address bar) to reach that site. Sort of a hack in a way. Technically you can use a single GA Tracking code on multiple sites. So there is no "Official" domain name associated with a profile.
Unfortunately, I don't think it's possible with the current API. Furthermore, you can't explicitly depend upon the domain they enter as the only domain the profile is tracking since there is further customization that allows the user to specify if they want to track subdomains and/or top-level domains. I believe your only option is to ask the user the same information Google asks the user and help the user understand they will have to manually keep two lists in sync due to limitations of the Google API.