I was working on a cross-domain website which needs to track our users with Google analytics code. The code to do that is easy and standard and can be found on the Google analytics dev guide.