Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Making GA Work For You W/ Custom Variables

6,772 views

Published on

Published in: Technology

Making GA Work For You W/ Custom Variables

  1. 1. Making Google Analytics Work for You With Custom Variables <ul><li>Mike Pantoliano </li></ul><ul><li>@MikeCP </li></ul>
  2. 2. We All Know... Campaigns Search Referrals Location Engagement New vs Returning Top Content Landing Pages Site Search Goals eCommerce Funnels
  3. 3. Refine GA tracking w/ name-value pairs CVs Allow Us To: Name Values Gender Member Status Converted Language Male, Female Logged In, Not Logged In False, True English, German
  4. 7. Excellent Analytics http://bit.ly/izpY69 http://dis.tl/excelninja
  5. 8. But How Do I Know What To Track?
  6. 9. Determine What ’ s Important To You Forget about Web Analytics
  7. 10. Determine What ’ s Important To You Forget about Web Analytics
  8. 11. Determine What ’ s Important To You Build and Track That! Forget about Web Analytics
  9. 12. <script type = &quot;text/javascript&quot; >   var _gaq = _gaq || [];   _gaq . push ([ '_setAccount' , 'UA-XXXXX-X' ]);   _gaq . push ([ '_trackPageview' ]);   ( function () {     var ga = document . createElement ( 'script' ); ga . type = 'text/javascript' ; ga . async = true ;     ga . src = ( 'https:' == document . location . protocol ? ' https://ssl ' : ' http://www ' ) + '.goog le-analytics.com/ga.js' ;     var s = document . getElementsByTagName ( 'script' )[ 0 ]; s . parentNode . insertBefore ( ga , s );   })(); </script>
  10. 13. <script type = &quot;text/javascript&quot; >   var _gaq = _gaq || [];   _gaq . push ([ '_setAccount' , 'UA-XXXXX-X' ]); _gaq.push([ ' _setCustomVar ' , name, value, opt_scope]);   _gaq . push ([ '_trackPageview' ]);   ( function () {     var ga = document . createElement ( 'script' ); ga . type = 'text/javascript' ; ga . async = true ;     ga . src = ( 'https:' == document . location . protocol ? ' https://ssl ' : ' http://www ' ) + '.goog le-analytics.com/ga.js' ;     var s = document . getElementsByTagName ( 'script' )[ 0 ]; s . parentNode . insertBefore ( ga , s );   })(); </script>
  11. 14. _setCustomVar(index, name, value, opt_scope) index - Required - Slot 1 through 5 name - Required value - Required <ul><li>opt_scope </li></ul><ul><li>1 (visitor-level) </li></ul><ul><li>2 (session-level) </li></ul><ul><li>3 (page-level - default) </li></ul>Source: Google Analytics Help http://bit.ly/ljbCYZ
  12. 15. _gaq . push ([ '_setCustomVar' ,   1 ,       'Section' ,     'Life & Style’ ,   3           ]);
  13. 16. Page-Level CV Examples opt_scope set to 3 or left blank
  14. 17. Product Categories and Types Grouping Pages
  15. 18. _gaq.push(['_setCustomVar',1,'Air Force','Air Force Cap',3]); _gaq.push(['_trackPageview']);
  16. 19. Other Ideas Review Count and/or aggregate score Character Count Comment Count Post Author
  17. 20. Session-Level CV Examples opt_scope set to 2
  18. 21. Organic Rank Position How-to: http://bit.ly/90zcJT
  19. 22. _gaq.push(['_setCustomVar',2,'blue widgets','3',2]); _gaq.push(['_trackPageview']);
  20. 23. Landing Page Grouping
  21. 24. Visitor-Level CV Examples opt_scope set to 1
  22. 25. Great For Visitor Attributes: Social vs Non-Social First Touch Social Media ROI
  23. 26. Mike Pantoliano @MikeCP Thanks! [email_address]

×