Duplicate domain tracking on Google Analytics issue - google-analytics

We've accidentally placed the same Google Analytics tracking code on two different domains.
www.y.com
www.x.com
We've rectified the issue now but retrospectively, is there any way to filter that data going to the specific domain name www.x.com for example?
Note: this is not a duplicate of Google Analytics: Track two domains as one

You could add a filter to the view (profile) in question. That will remove the data that you don't want. Another option if you don't want to loose the data in the view would be to create a custom segment that you could use when ever you want to split the data out.
Update from Google+
You can search with regex
^/app/
in the small search bar (custom segment) in your page reports (e.g. Behavior -> Site Content -> All Pages), after which you can look at the aggregate metrics for all pages which start with /app/ (i.e. all the pages with different parameters).
If all the /app/.* have the same page title, you can look at the Behavior > Overview report, but choose Page Title as the dimension.

Related

In Google Analytics, how do I plot on a timeline users who visited one page but not another?

I'm looking for some help creating a Google Analytics report that shows, in a timeline, the number of Users who visited one page (e.g. Checkout page) but NOT another page (e.g. Thank You page), and in that order. This seems like such a simply report to run, but I cannot seem to find the right settings in Google Analytics to pull this together.
What you need is a segment with the following settings:
Include sessions
Page includes /checkout (replace with your checkout URL) AND
Page excludes /thankyou (replace with whatever your thank you page URL is)

How to show only recently created pages in Google Analytics?

I'm just getting to grips with Google Analytics for a site I'm doing some content management for, and want to know how to look at the traffic for pages created recently/in specific timeframes.
Anyone got any ideas?
You would need to log the page creation date as a custom dimension. Then you'd need to select your timeframe, and filter by your custom dimension (via regex, since you cannot apply the date filter to a custom dimension).
If the page does not have any hits in the selected timeframe it will not show up at all. And in any case you will see only metrics from the hits in the selected timeframe, even if the page has been created before that.
So this is sort of possible, but rather more complicated than one would assume.

Google Analytics - Some weird URLs are being registered in behavior reports

We made a google analytics account for one of our clients as part of the requirements.
Under Reporting tab, we have sections like Behavior -> Site Content -> All pages. In All Pages section we are able to see a table which contains all the urls which are viewed with respective pageviews , unique pageviews and other dimensions.
A normal page view looks like:"/pwsportal/faces/homePageNav/mktplan_adf.Ctrl_9_afrLoop_1234423".
Some how there are some weird page urls like :
I tried using Exclude Filters and couldn't eliminate these kind of urls.
From one on the blog i got to know that if any url contains any script tags it is a part of hacking technique called cross site scripting.
Finally i am here to find a solution to eliminate the these kind of existing urls and to prevent them from getting registered in future into google analytics.

Spam Referral people on my Wordpress

for some time in google Analytics I observe very busy with foreign sites. These are spam site. How can I protect?
Screen GA:
http://oi60.tinypic.com/2vctdae.jpg
These are called "Ghost Referrals" and the best way to rid yourself of them is to add a new view and create an Include filter for it.
Check out the full post http://blog.tylerbuchea.com/google-analytics-filtering-out-ghost-referrals/
First go the the Analytics Admin section and choose the Account and Property you'd like to apply the filter to. Then create a new view like "example.com (Ghost Referalls Filter)". Trust me on this create a new one and don't reuse your existing one. I'll explain later.
Add a new filter to your freshly created view. Then select the Custom tab, mark the Include radio button, and choose Hostname from the dropdown. Then you'll want to enter your sites hostnames separated with the OR operator "|" and make sure to add a backslash before each period. This will white list only your hostnames and block any other sites from sending fake data that muddy up your Analytics reports.
Example entry
example\.com|www\.example\.com|translate\.google\.com
So Why The New View?
If you add a filter to an existing view it will permanently change that view and all of the past data.
I Don't See Any Data
Unfortunately Analytics doesn't apply filters to past data. So all of the data in the filtered view will be from the day it was assigned onwards. Just give it a few days and you'll be using your original view less and less.
If your picture is what I think it is, its actually a GA issue. Its fake referral spam.
https://megalytic.com/blog/how-to-filter-out-fake-referrals-and-other-google-analytics-spam

Multiple links pointing to the same location. Track which one was clicked using Google Analytics

I'm trying to get Google Analytics to track the specific link in the page that was used by the users to get to a specific location.
Say I have links poing to the contact page from the main menu, the page's contents and the footer.
Looking at what other websites are doing, I've added references inside GET parameters for each of the links like so: http://www.example.com/contact?ref=menu , http://www.example.com/contact?ref=content and http://www.example.com/contact?ref=footer . I've also added the ref parameter to the ignore list inside Google Analytics so the three URLs are not tracked as separate pages.
My question now is: How sould I go about tracking which one was used to get to the contact page?
Although the post is a bit old, for others like me finding this via search, here is the solution. Enhanced Link Attribution in Google Analytics.
http://support.google.com/analytics/bin/answer.py?hl=en&answer=2558867
Sounds like you are already tracking them with the URL param.
If Google Analytics is successfully tracking them as separate pageviews with the ref= URL param, then you could create a custom report in GA that shows the number of pageviews. The custom report can be added to your dashboard for quick reference.
The custom report can be set up like this:
Metric groups: pageviews
Dimension drilldowns: page
Filters: include -> Page -> regex -> /contact\?ref=(content|menu|footer)
Or, for each click, add the following to each link:
Contact
Contact
Repeat for each link. This is no more work than adding a ref= to each link.

Resources