Transcript of "Google Analytics intro - Best practices for WCM"
Google AnalyticsBest Practices for WCM30/08/2012 – Joris Bekaert 1.
Table of contents1. “Google Analytics” a short history2. How does it work?3. Initial setup & deployment4. Advanced integration5. Points of attention for implementation 2.
Google Analytics a short history• April 2005: Urchin acquired by Google• November 2005: First Rollout Google Analytics• August 2006: Second Rollout• April 2011: New version of interface• March 2012: End of sales standalone Urchin• June 2012: Mobile Google Analytics App 3.
The GATC explainedGoogle Analytics Tracking Code (GATC)• Asynchronous code• Downloads ga.js• Sets first party cookies• Gathers and transfers basic analytics data set 9.
Deploying The GATC• Before </head> or before </body>• Needs to be added to 90% of the pages to get usefull reports (troubleshooting tools available e.g. Observepoint)• Use a content management system to deploy (flexibility) 10.
Event Tracking• Track in-page actions • Flash movie player • Exit links • Ajax page elements (onClick, onSubmit, onReset, ...) • File Downloads• Event Tracking needs to be added in the HTML in a consistent way (CMS)• _trackEvent function 13.
Event Tracking <a href=“#” onClick=“_gaq.push([‘_trackEvent’, ‘Category’, ‘Action’, ‘Label’]);”>Label Link</a>Parameter Condition Descriptioncategory Required The name you supply to the objects you want to trackaction Required A string that is uniquely paired with each category and commonly used to define the type of user action for the web objectoptional_label Optional A string to provide addtional dimensions to the event data.optional_value Optional An integer that you can use to provide numerical data about the user event (time, amount)optional_nonInteraction Optional The nonInteraction event is set to define wether an event is treated as a non- interaction. 14.
Event Tracking (examples)gaq.push([‘_trackEvent’, ‘Video’, ‘Play’, ‘Alone in New York’]);”gaq.push([‘_trackEvent’, ‘Video’, ‘Pause’, ‘Alone in New York’,‘30’]);” 15.
Points of attention for implementation• Implementing Google Analytics needs extra development• Check Google Analytics features of the WCMS• Create a tracking plan before the development starts• It can save work if the web agency can create the tracking plan 23.
Further readinghttp://www.advanced-web-metrics.com/ 24.
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.