martynj.com - things I have learnt

entries tagged 'analytics'

Google Analytics: Setting up Profile Filters

To define what data appears in your Google Analytics reports and how it is displayed, filters process raw request data and pass it to the appropriate profile. Raw data cannot be re-processed once it has been passed through a filter, so it is recommended to maintain a completely unfiltered profile in addition to the rest as a safety/backup. 2 types: pre-defined & custom filters. Edit a profile, click add Filter, then choose whether to edit or create a new filter. Commonly used pre-defined filters: - Exclude all traffic from a domain (Google Analytics does a reverse lookup on a visitor's ...

Full entry: http://www.martynj.com/google-analytics-profile-filters

Google Analytics: Cookies and Tracking across Multiple (sub)Domains

Cross-domain considerations with Google Analytics Tracking users between domains with Google Analytics does not work 'out of the box' because GA uses only first party cookies. We need a way to share cookie data between domains. Tracking Multiple Domains If using HTML links to transfer visitors between domains, use the _link() Method as follows to track between domains: 1. Add pageTracker._setDomainName('none'); and pageTracker._setAllowLinker(true); 2. Add onclick attribute to all HTML links between the sites - onclick="pageTracker._link('http://destinationurlhere'); return false;'" If using forms (with method="post") to transfer visitors between domains, for example if using ...

Full entry: http://www.martynj.com/google-analytics-cookies-tracking-multiple-domains-filters

Google Analytics: Campaign Tracking and AdWords Integration

I made the following notes when watching the Google Conversion University slides: http://www.google.com/support/conversionuniversity/ Campaign Tracking and AdWords Integration Two ways to track marketing campaigns. 1. Autotagging your links in Adwords 2. Manually tagging other links To autotag links: Within AdWords, click Analytics tab to link your accounts. Once accounts are linked, you can enable destination URL autotagging. If you prefer to manually tag your links, you won't see your campaigns data in GA. If you don't want ad cost data appearing in a specific profile, you can edit the profile and de-select the ...

Full entry: http://www.martynj.com/google-analytics-campaign-tracking-adwords

Notes from Google Conversion Uni: Introduction to Google Analytics

I made the following notes by watching the slides on the Google Conversion University Help page: http://www.google.com/support/conversionuniversity/ The Google Analytics Tracking Code (GATC) javscript is executed when each page is loaded. The _trackPageView() method is called and GA first party cookies are written and/or read. Invisible GIF request is then made to transfer data to secure Google servers. Data is processed throughout the day. Google Analytics uses only first party cookies (no third party). Many people block 3rd party cookies in their browser preferences, but most allow 1st party. If user disables cookies, GA ...

Full entry: http://www.martynj.com/google-analytics-intro

Google Analytics _setAllowAnchor(true) doesn't enable recognition of arbitrary hash # values in URL

I just tried using Google Analytics _setAllowAnchor() to capture URI parameters that appear after a hash # in the URL. The __utm.gif ping back to Analytics holds the page URI in its utmp parameter. Pageviews with a hash parameter in the URI were reported in the same way, without the hash value included, by __utm.gif utmp both with and without setting _setAllowAnchor(true); Seems that setAllowAnchor() only enables campaign parameters to be recognised after the #, not arbitrary values. UPDATE: On further testing, it seems that GA can be forced to recognise full URIs including parameters after a hash (#) character ...

Full entry: http://www.martynj.com/google-analytics-setallowanchor-hash-url