Making Google Analytics Work for You With Custom Variables <ul><li>Mike Pantoliano </li></ul><ul><li>@MikeCP </li></ul>
We All Know... Campaigns Search Referrals Location Engagement New vs Returning Top Content Landing Pages Site Search Goals...
Refine GA tracking w/ name-value pairs CVs Allow Us To: Name Values Gender Member Status Converted Language Male, Female L...
 
 
 
Excellent Analytics  http://bit.ly/izpY69 http://dis.tl/excelninja
But How Do I Know What To Track?
Determine What ’ s Important To You Forget about Web Analytics
Determine What ’ s Important To You Forget about Web Analytics
Determine What ’ s Important To You Build and  Track  That! Forget about Web Analytics
<script   type = &quot;text/javascript&quot; >    var  _gaq  =  _gaq  ||   [];    _gaq . push ([ '_setAccount' ,   'UA-XXX...
<script   type = &quot;text/javascript&quot; >    var  _gaq  =  _gaq  ||   [];    _gaq . push ([ '_setAccount' ,   'UA-XXX...
_setCustomVar(index, name, value, opt_scope) index -  Required  - Slot 1 through 5   name -  Required   value -  Required ...
_gaq . push ([ '_setCustomVar' ,    1 ,          'Section' ,        'Life & Style’ ,    3            ]);
Page-Level CV Examples opt_scope set to 3 or left blank
Product Categories and Types Grouping Pages
_gaq.push(['_setCustomVar',1,'Air Force','Air Force Cap',3]); _gaq.push(['_trackPageview']);
Other Ideas Review Count and/or aggregate score Character Count Comment Count Post Author
Session-Level CV Examples opt_scope set to 2
Organic Rank Position How-to:  http://bit.ly/90zcJT
_gaq.push(['_setCustomVar',2,'blue widgets','3',2]); _gaq.push(['_trackPageview']);
Landing Page Grouping
Visitor-Level CV Examples opt_scope set to 1
Great For Visitor Attributes: Social vs Non-Social First Touch Social Media ROI
Mike Pantoliano @MikeCP Thanks! [email_address]
Upcoming SlideShare
Loading in...5
×

Making GA Work For You W/ Custom Variables

5,375

Published on

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

No Downloads
Views
Total Views
5,375
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
44
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

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]
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×