Link to home
Start Free TrialLog in
Avatar of RoloHire

asked on

how to track parked domain with google analytics?

we have a main site eg. and we track performance with Google analytics. we also have domain name that is parked on the same server and is pointed to our first original name

I am wondering if there is any way of tracking the performance of our second domain name since we beleive lots of websites are pointing traffic to rather than original name? Hope i havent confused you.

Avatar of Bernard Savonet
Bernard Savonet
Flag of France image

Short answer: Yes you can, sort of

Rationale: in fact, only you know it is a parked secondary site, not "a" main site. The only problem is to track visitors and how they came here.
The trick is that, most probably, you have done a htaccess redirect to your main site, and so there is in fact no web page in which you could put the Analytics code....

How I would proceed:
1 - Looking at your (present) main site analytics, you will find amongst your "referrers" the old site: this will show you all the traffic that was redirected from old to main BUT you will probably loose the additional information (where did traffic come in the first place, which pages were linked to, etc.
2 - Even if you are not using Analytics, you probably have some information on traffic incoming to old site: eg, Apache logs. You might even already have some interface that makes easier to explore these logs; probably not as easy as Analytics... but powerful enough to help you find:
  a - which pages are linked to
  b - which are the main referrers (including search engines, in which case you also know with which keywords)
  c - who, if any, are the main visitors to your old site
3 - From there, you will find if you need any additional work or if the present situation is "good enough". The 2 extremes might be a lot of traffic with a high-ranking keyword (and it would be a pity to ignore and lose that!) or an almost non-existent traffic.
If you get lots of traffic, then you might consider creating a small site to handle it effectively, with the 4-10 pages most linked-to created to handle effectively a 301 redirect.
4 - And to be sure of what remains in the search engines indexes, look in GYM (Google, Yahoo, Microsoft) after pages that contain the string "": these are pages in their indexes that point to your old site, you may address each of the hosting webmasters to give them the info.

REMARK: since you are building your business around, you MUST look at what is happening on "". If the domain is available, BUY IT NOW. If it is not, check if its owner is not reaping some rewards from all the marketing YOU are doing
Just an addition to 3 above
If you create ad-hoc pages, then of course you can add analytics page to the corresponding pages.
You have 2 strategies here:
- use the same code as the main site, so that you have a "unified view" of the traffic
- my recommendation would be more to use a specific analytics code, and certainly specific reports
Are you only tracking the first site with Google Analytics?  If you are only tracking the first site, then you can create another Analytics package to track the second site.  If you are tracking the second site with the same Analytics package as the first, then it will also be beneficial to have a second package that only tracks the second site.

Bu setting up a separate analytics package for each site, you will be able to analyze, compare, etc the referrers to each site.  This will allow you to know if your concerns are correct.
Avatar of Gregoryj83

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RoloHire


ok i just want to give you another piece of info before i try to do anything. i will try to clarify our position.

for many years we were working under the at the beginning of the last year we re-branded our company and bought our new domain name 

we just redirected to point to and now we find that the GA code is still only tracking

i see lots of good suggestions but still not sure where to start first.

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you have a scripting language available on your server, such as PHP, I would just create a page that writes the visitor's IP address, visit date, and any other useful info, to a database, and then sends a "Location" HTTP header that redirects the user to your preferred domain.

Then tell your Apache server to redirect all requests for the new domain to this PHP page.

Anyone coming via the new domain will be redirected to the preferred domain, via your logging script, and they'll see no difference to a straight redirect, but you'll be able to check your database for the number of visitors you get each day through the new domain.