Your SlideShare is downloading. ×
0
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
An introduction-to-google-analytics-1198701588721690-4
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

An introduction-to-google-analytics-1198701588721690-4

1,371

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,371
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
68
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Google Analytics Joris Roebben ( [email_address] ) Tom Michiels ( [email_address] ) www.queromedia.com
  2. 1. Introduction <ul><li>What is Google Analytics? </li></ul>urchin.js GA.js 2004 2005 2007
  3. Conventions <ul><li>GA = Google Analytics </li></ul><ul><li>GATC = Google Analytics Tracking Code </li></ul>
  4. Google Analytics advantages <ul><li>Free </li></ul><ul><li>Sufficiant possibilities for most companies </li></ul><ul><li>Easy to implement </li></ul><ul><li>Easy to use </li></ul><ul><li>Easy to understand </li></ul>
  5. Google Analytics disadvantages <ul><li>URL and title based </li></ul><ul><li>No data history </li></ul><ul><li>Privacy ? </li></ul><ul><li>JavaScript and cookies </li></ul><ul><li>Only visitors, no crawlers or bots </li></ul>
  6. 2. Google Analytics interface <ul><li>Dashboard </li></ul><ul><li>Add / remove elements </li></ul><ul><li>Personalized </li></ul>
  7. Calendar
  8. Reporting <ul><li>XML </li></ul><ul><li>PDF </li></ul><ul><li>CSV </li></ul><ul><li>TSV </li></ul><ul><li>Send now </li></ul><ul><li>Schedule </li></ul>
  9. 3. Setup Google Analytics <ul><li>Create Google Account </li></ul><ul><li>Free </li></ul><ul><li>No spam </li></ul><ul><li>Gmail = OK </li></ul>
  10. Best practice for GA accounts <ul><li>Create GA account on [email_address] </li></ul><ul><li>Add [email_address] as administrator </li></ul><ul><li>Add [email_address] as reviewer </li></ul><ul><li>Advantage: structure </li></ul>
  11. Sign up <ul><li>Login </li></ul><ul><li>Create GA account </li></ul>
  12. Get the GATC <ul><li>Google Analytics Tracking Code </li></ul><ul><li>Old vs. New one </li></ul><ul><li>urchin.js vs. GA.js </li></ul>
  13. urchin.js <ul><li>Old code </li></ul><ul><li>Can still be used </li></ul><script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;> </script> <script type=&quot;text/javascript&quot;> _uacct = &quot;UA-123456-1&quot;; urchinTracker(); </script> </body> </html>
  14. GA.js <ul><li>New code </li></ul><ul><li>New features not yet available </li></ul><script type=&quot;text/javascript&quot;> var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);document.write(&quot;<script src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'></script>&quot; ); </script> <script type=&quot;text/javascript&quot;> var pageTracker = _gat._getTracker(&quot;UA-123456-1&quot;);pageTracker._initData();pageTracker._trackPaginaweergave();</script> </body> </html>
  15. Host your own GATC <ul><li>Possible </li></ul><ul><li>Not advised </li></ul><script src=&quot;http://www.mydomain.com/mytrackingcode.js&quot; type=&quot;text/javascript&quot;> </script> <script type=&quot;text/javascript&quot;> _uacct = &quot;UA-123456-1&quot;; urchinTracker(); </script>
  16. Check your installation <ul><li>Put code just before </body> </li></ul><ul><li>Loads pages faster </li></ul><ul><li>No problem if GA offline </li></ul>
  17. Easy implementation <ul><li>All HTML-files: lot of work </li></ul><ul><li>Dynamic site: look for footer inclusion </li></ul><ul><li>CMS: look for templates </li></ul><ul><li>Put GATC on ALL pages !!! </li></ul><ul><li>Correct data = essential </li></ul>
  18. Access manager <ul><li>Give access to GA account </li></ul><ul><li>Must be Google account </li></ul><ul><li>Administrator or View Reports only </li></ul>
  19. Add user
  20. 4. Adding AdWords to Google Analytics <ul><li>Use GA in AdWords interface </li></ul><ul><li>AdWords reports in GA </li></ul>
  21. Step 1: check GATC <ul><li>Make sure every page on website is tagged with GATC </li></ul>
  22. Step 2: Login to Google AdWords <ul><li>www.google.com/adwords as Administrator </li></ul>
  23. Step 3: Tab Analytics <ul><li>Click on the tab Analytics </li></ul>
  24. Step 4: Link to existing GA account
  25. Step 5: Account preferences <ul><li>Make sure auto-tagging is on ! </li></ul>
  26. 5. Profiles and Filters <ul><li>Are the real strength of GA </li></ul><ul><li>Segment data </li></ul><ul><li>Deep analysis </li></ul><ul><li>Depending on needs </li></ul><ul><li>Start collecting data when created </li></ul>
  27. Best practices <ul><li>Profile with ALL data </li></ul><ul><li>Testing profile </li></ul>
  28. Data needed for profile <ul><li>Website URL </li></ul><ul><li>Profile Name </li></ul><ul><li>Time Zone </li></ul><ul><li>Default Page </li></ul><ul><li>Exclude parameters </li></ul><ul><li>E-commerce website </li></ul><ul><li>Search </li></ul>
  29. GATC for different profiles <script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;> </script> <script type=&quot;text/javascript&quot;> _uacct = &quot;UA- 123456-1 &quot;; urchinTracker(); </script> <script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;> </script> <script type=&quot;text/javascript&quot;> _uacct = &quot;UA- 123456-2 &quot;; urchinTracker(); </script> <script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;> </script> <script type=&quot;text/javascript&quot;> _uacct = &quot;UA- 654321-1 &quot;; urchinTracker(); </script>
  30. Filters <ul><li>Applied to profile </li></ul><ul><li>Change data (forever!) </li></ul><ul><li>Segmentation </li></ul><ul><li>Business rules </li></ul><ul><li>2 sorts: predefined and custom </li></ul><ul><li>Test profile </li></ul>
  31. How do filters work? <ul><li>3 components </li></ul><ul><li>Filter Type </li></ul><ul><li>Filter Fields </li></ul><ul><li>Filter Pattern </li></ul><ul><li>Filter data before submitting it to GA DB </li></ul>
  32. Multiple filters <ul><li>No problem </li></ul><ul><li>Multiple filters applied to data </li></ul><ul><li>Data output filter 1 is input filter 2 </li></ul><ul><li>Be careful !!! </li></ul><ul><li>Wrong conclusions </li></ul>
  33. Filterfields <ul><li>37 fields </li></ul><ul><li>Field = pageview attribute </li></ul><ul><li>Regular fields and user defined fields </li></ul><ul><li>Regular: request URI, hostname, referral, page title, browser, IP address,... </li></ul><ul><li>User defined: campaign name, source, campaign term, e-commerce variables,... </li></ul>
  34. Possible values for Filterfields <ul><li>Check GA reports !!! </li></ul><ul><li>Lists not yet available </li></ul>
  35. Filter Patterns <ul><li>Pattern is applied to filterfield </li></ul><ul><li>If ok, data registered </li></ul><ul><li>If not ok, data neglected </li></ul><ul><li>Build patterns using RegEx </li></ul><ul><li>RegEx = set of characters, representative for bigger set of data </li></ul>
  36. Filter Type <ul><li>10 different types </li></ul><ul><li>3 predefined </li></ul><ul><li>7 custom </li></ul>
  37. 5.1 Exclude all traffic from a domain
  38. 5.2 Exclude all traffic from an IP address IP ranges with RegEx !!!
  39. 5.3 Include only traffic to a subdirectory
  40. 5.4 Include / Exclude filter (1)
  41. 5.4 Include / Exclude filter (2)
  42. 5.4 Include / Exclude filter (3)
  43. 5.5 Search and replace filter (1)
  44. 5.5 Search and replace filter (2) <ul><li>No RegEx !!! </li></ul><ul><li>Changes data !!! </li></ul>
  45. 5.6 Uppercase / Lowercase filter
  46. 5.7 Lookup table filter <ul><li>Not available in GA </li></ul><ul><li>Only old Urchin customers </li></ul><ul><li>~Search and replace filter </li></ul><ul><li>Text file </li></ul>
  47. 5.8 Advanced filters <ul><li>Change data fields </li></ul><ul><li>By combining elements </li></ul><ul><li>2 filter fields: Field A and Field B </li></ul><ul><li>Extract field = Constructor </li></ul><ul><li>RegEx !!! </li></ul>
  48. Examples of advanced filters (1)
  49. Examples of advanced filters (2)
  50. 6. Custom segmentation <ul><li>Segment data </li></ul><ul><li>_utmv cookie </li></ul><ul><li>JavaScript function _utmSetVar() </li></ul><ul><li>On pages tagged with GATC </li></ul><ul><li>Applied to HTML attributes as onLoad(), onChange(), onSubmit() </li></ul><ul><li>Only 1 cookie per visitor (website) </li></ul>
  51. Custom segmentation example
  52. Custom segmentation code <ul><li>Everyone = visitor (“not set”) </li></ul><ul><li>When registered = member </li></ul><ul><li>When completed buy = customer </li></ul><ul><li>Report: Visitors > User defined </li></ul><body onLoad=”javascript:_utmSetVar(‘member’);”> <body onLoad=”javascript:_utmSetVar(‘customer’);”>
  53. User Defined Values
  54. RegEx Regular expressions are used to match or capture portions of a field using wildcards and metacharacters. They are often used for text manipulation tasks. Most of the filters included in Google Analytics use these expressions to match the data and perform an action when a match is achieved. For instance, an exclude filter is designed to exclude the hit if the regular expression in the filter matches the data contained in the field specified by the filter. Regular expressions are text strings that contain characters, numbers, and wildcards. Note that these wildcard characters can be used literally by escaping them with a backslash ''. For example, when entering www.google.com , escape the periods with a backslash: www.google.com
  55. RegEx <ul><li>. match any single character </li></ul><ul><li>* match zero or more of the previous items </li></ul><ul><li>+ match one or more of the previous items </li></ul><ul><li>? match zero or one of the previous items </li></ul><ul><li>() remember contents of parenthesis as item </li></ul><ul><li>[] match one item in this list </li></ul><ul><li>create a range in a list </li></ul><ul><li>| or </li></ul><ul><li>^ match to the beginning of the field </li></ul><ul><li>$ match to the end of the field </li></ul><ul><li> escape any of the above </li></ul><ul><li>More: http://en.wikipedia.org/wiki/Regex </li></ul>
  56. 7. Goals <ul><li>Conversions ? </li></ul><ul><li>Conversion rate </li></ul><ul><li>Reports </li></ul><ul><li>Success of site </li></ul><ul><li>“ Thank you” page </li></ul><ul><li>Max. 4 per profile </li></ul><ul><li>Contact – buy – download - register </li></ul>
  57. Setting up goals
  58. Goals howto <ul><li>Match type </li></ul><ul><li>Goal value </li></ul><ul><li>Choose good name </li></ul><ul><li>Unique “thank you” page per conversion </li></ul><ul><li>Keep track of filters </li></ul>
  59. Goals visualisation (1)
  60. Goals visualisation (2)
  61. Funnels <ul><li>Extension of goals </li></ul><ul><li>Predefined steps </li></ul><ul><li>Track conversion process </li></ul><ul><li>Required steps ? </li></ul>
  62. Funnel visualisation
  63. 8. E-commerce tracking <ul><li>Not accounting </li></ul><ul><li>Use it to find trends </li></ul><ul><li>No absolute figures !!! </li></ul>
  64. Implementing E-commerce tracking <ul><li>Activate E-commerce tracking in profile </li></ul><ul><li>Add code below GATC </li></ul><ul><li>Extra reports </li></ul><ul><li>Data from transaction needs to be transfered to GA </li></ul><ul><li>1 Transaction </li></ul><ul><li>Multiple items </li></ul><ul><li>urchin.js vs. GA.js </li></ul>
  65. E-commerce for urchin.js <form style=&quot;display:none;&quot; name=&quot;utmform&quot;> <textarea id=&quot;utmtrans&quot;> UTM:T|[order-id]|[affiliation]|[total]|[tax]|[shipping]|[city]|[state]|[country] UTM:I|[order-id]|[sku/code]|[productname]|[category]|[price]|[quantity] UTM:I|[order-id]|[sku/code]|[productname]|[category]|[price]|[quantity] </textarea> </form>
  66. E-commerce for GA.js <script src=&quot;http://www.google-analytics.com/ga.js&quot; type=&quot;text/javascript&quot;></script> <script type=&quot;text/javascript&quot;> var pageTracker = _gat._getTracker(&quot;UA-XXXXX-1&quot;); pageTracker._initData(); pageTracker._addTrans( &quot;1234&quot;, // Order ID &quot;partner&quot;, // Affiliation &quot;2500.25&quot;, // Total &quot;200.25&quot;, // Tax &quot;3&quot;, // Shipping &quot;Brussels&quot;, // City &quot;Brabant&quot;, // State &quot;Belgium&quot; // Country ); pageTracker._addItem( &quot;1234&quot;, // Order ID &quot;MTB25&quot;, // SKU &quot;Mountainbike&quot;, // Product Name &quot;Off-road&quot;, // Category &quot;1500&quot;, // Price &quot;1&quot; // Quantity ); pageTracker._addItem( &quot;1234&quot;, // Order ID &quot;MTB44&quot;, // SKU &quot;Mountainbike&quot;, // Product Name &quot;Cross&quot;, // Category &quot;1000.25&quot;, // Price &quot;1&quot; // Quantity ); pageTracker._trackTrans(); </script>
  67. Complete process
  68. E-commerce reports
  69. E-commerce reports
  70. E-commerce reports
  71. E-commerce reports
  72. 9. Tips & Tricks: Site Search
  73. Tips & Tricks: Event tracking <ul><li>Downloads, clicks, ... </li></ul><ul><li>Urchintracker() generates pageview </li></ul><ul><li>Pageviews in reports </li></ul><ul><li>Naming ! </li></ul><a href=&quot;http://www.webiste.com/pdf/document1.pdf&quot; onClick=&quot;javascript:urchinTracker('/pdf/document1');&quot;>
  74. Tips & Tricks: Multi-domain tracking <ul><li>Website on multiple domains </li></ul><ul><li>Most often used for external checkout </li></ul><ul><li>Transfer content of first party cookies to other domain </li></ul><ul><li>urchin.js vs. GA.js </li></ul>
  75. Multi-domain tracking urchin.js (1) <ul><li>Change GATC </li></ul><script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;> </script> <script type=&quot;text/javascript&quot;> _uacct=&quot;UA-xxxx-x&quot;; _udn=&quot;none&quot;; _ulink=1; urchinTracker(); </script>
  76. Multi-domain tracking urchin.js (2) <ul><li>Change cross-domain links </li></ul><a href=&quot;https://www.secondsite.com/?login=parameters&quot;>Log in Now</a> <script type=&quot;text/javascript&quot;> document.write('<a href=&quot;javascript:__utmLinker(' https://www.secondsite.com/?login=parameters');&quot;>Log in Now</a>'); </script> <noscript> <a href=&quot; https://www.secondsite.com/?login=parameters &quot;>Log in Now</a> </noscript>
  77. Multi-domain tracking GA.js (1) <ul><li>Change GATC </li></ul><script type=&quot;text/javascript&quot;> var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot; https://ssl.&quot; : &quot;http://www.&quot;); document.write(&quot;<script src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js ' type='text/javascript'></script>&quot; ); </script> <script type=&quot;text/javascript&quot;> var pageTracker = _gat._getTracker(&quot;UA-12345-1&quot;); pageTracker._setDomainName(&quot;none&quot;); pageTracker._setAllowLinker(true); pageTracker._initData(); pageTracker._trackPaginaweergave(); </script>
  78. Multi-domain tracking GA.js (2) <ul><li>Change cross-domain links </li></ul><a href=&quot;https://www.secondsite.com/?login=parameters&quot;>Log in Now</a> <script type=&quot;text/javascript&quot;> document.write(‘<a href=&quot;javascript:pageTracker._link('https://www.secondsite.com/?login=parameters');&quot;>Log in Now</a>'' );</script> <noscript> <a href=&quot;https://www.secondsite.com/?login=parameters&quot;>Log in Now</a> </noscript>
  79. Tips & Tricks: Tracking outbound links <ul><li>Creating pageviews </li></ul><ul><li>Using UrchinTracker() </li></ul><ul><li>Pageviews in reports </li></ul><ul><li>Naming ! </li></ul><a href=&quot;http://www.otherdomain.com&quot; onClick=&quot;javascript:urchinTracker('/outbound/otherdomain');&quot;>
  80. Tips & Tricks: Tagging inbound links http://www.website.com/pagina.html http://www.website.com/pagina.html?utm_source=partner&utm_medium=banner&utm_campaign=nl&utm_term=zoekwoord <ul><li>Adjust cookies </li></ul><ul><li>~Google AdWords auto-tagging </li></ul><ul><li>Not all parameters are required </li></ul>
  81. 10. Conclusion
  82. 11. Roundup 1. Create a Google Analytics account. 2. Analyze the website. 3. Create and Configure profiles. a) Create filters. b) Create goals and funnels. c) Create recommended profiles. 4. Edit the tracking code. 5. Modify the web site. 6. Add the tracking code to web site pages. 7. Tag marketing campaigns. 8. Enable e-commerce transaction tracking. 9. Implement custom segmentation. 10. Configure other administrative features. a) User accounts and report access. b) Automated email report delivery.
  83. 12. Q & A

×