Tagged: cross-domain-tracking 

Bobby 10:08 am on Aug 18, 2011 Permalink | Reply
Tags: cross domain tracking, Flash, , iFrames, security   

Google Analytics (GA) sometimes has problems tracking within iFrames. This problem happens when the iFrame content is served from a domain that is different than the domain in the address bar. Websites that use a partner site for checkouts or a 3rd party for their shopping cart are often battling these issues. There are much more graceful alternatives to using iFrames, but sometimes resources limit your options, and you need to have visibility into these iFrame content pages.

This security issue isn’t exclusive to GA. Browsers are trying to protect users from XSS (cross site scripting) vulnerabilities, so they throw security warnings and/or stop scripts from running on the iFrame page. In this scenario, the default security settings on most browsers are enough to prevent the Google Analytics tracking code from successfully firing off the image request to the GA servers, but each visitor has the ability to easily change those settings.  Keep this in mind when digging into the reports to debug this problem. Just because you see all browsers represented in the reports does not mean that you don’t have a tracking problem. Those visitors could have relaxed security settings.

Flash Solution

There are a few workarounds for dealing with this security situation that will help to capture a lot more traffic. One workaround involves the use of Adobe Flash.

Bobby 1:07 pm on Jul 5, 2011 Permalink | Reply
Tags: cross domain tracking,   

1) Cross Domain Tracking in Google Analytics

Google Analytics is a very utilitarian, user friendly web analytics product. However, this may be viewed as a good thing or a bad thing.

The “good thing” … it‘s quite simple to install a Google Analytics tracking code and get it working quickly even if you are not very technically oriented.

The “bad thing” … although you can easily install a tracking code, often you cannot get Google Analytics working properly unless you are technically oriented.

To avoid the many potential pitfalls when installing Google Analytics, technical expertise is advisable. Comprehensive coverage of Google Analytics installation issues would be too extensive to explain in one article, so I will be covering the most popular (and most frustrating) problems in this series of posts, “Solving Your Google Analytics Frustrations One by One”, starting with cross domain tracking.

One widely experienced problem when installing Google Analytics is associated with cross domain tracking. Cross domain tracking refers to the session data that must be preserved while the visitor is traversing across multiple top level domains and/or sub domains. If cross domain tracking is not configured correctly, the validity of your web analytics reports may be significantly compromised and, therefore, your decisions will be made based on inaccurate results.