Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cross Domain User Tracking

We have several websites on different domains and I'd like to be able to track users' movements on these sites.

  • Obviously cookies are not feasable, because they don't cross domain borders.
  • I could look at a combination of IP address and User Agent, but there are some cases where that does not work.
  • I don't want to use flash or other plugins.

Any ideas? Or am I doomed to rely on the IP/User_Agent combination?

like image 698
BlaM Avatar asked Oct 19 '08 13:10

BlaM


People also ask

How do I track users across a domain?

Cookies are the go-to method for tracking user information in a web client. First-party cookies (cookies set on the current domain you are browsing) allow tracking for data on a single domain or subdomains, so they will not work across top-level domains.

What is cross domain tracking?

Cross-domain tracking is a way of allowing Google Analytics to track a visitor as a continuous session on two or more related sites. For example when tracking www.sitea.com and www.siteb.com in the same GA Web Property.

Does cross domain need tracking?

It is always needed when there are multiple domains. The other misconception is that you need cross-domain tracking whenever you are using various domains. If you want to see the same user navigating across websites and to attribute conversions to the sources of traffic, you will need cross-domain tracking.


1 Answers

You can designate one domain or subdomain to tracking and have it serve a 1x1 pixel image which you include in all pages you would like to track. Serve a cookie with the image, look at the tracking domain's server logs, voilà.

like image 159
Simon Avatar answered Sep 20 '22 22:09

Simon