Google Analytics is a great free tool for revealing basic information about the activity on your site. However, there are many advanced features such a Goal Tracking, Custom Reports, Custom Variables and Advanced Segments which can greatly increase your understanding of how visitors are interacting with your site. Come learn about these features and see how eXtension uses them on our sites.
Advanced Google Analytics Ben MacNeill firstname.lastname@example.org
• Goals• Custom Reports• Custom Variables• Advanced Segments• Bonus: New GA UI
Goals• What do you want your site visitors to do? • Download a PDF? • Submit a form? • Click the "contact us" link? • Sign up for a newsletter?• How many visitors reach the goal?• Where do visitors abandon goals?
Example: Ask an Expert• How many visitors are "Asking an Expert"?• What happens when they use the Ask an Expert form?• Problem: the search results for the form create unique URLs
Solution: Virtual Pages• The solution is create a virtual page with the GATC method: _trackPageview()• Were going to overwrite the actual, dynamic URL with a made-up, virtual URL
Step 1. Deﬁne the Goal• "Question submitted" page• Problem: its not a hardcoded web page (there is no thankyou.html page)• (The "thank you" page URL is dynamic because the visitor is returned to their previous page)
Make Up a Descriptive URL Before: _gaq.push([_trackPageview]); After: _gaq.push([_trackPageview, /ask- an-expert-question-submitted]);In GA, this page view shows up as:www.extension.org/ask-an-expert-question-submitted
Why Custom Reports?• When you want more than the general GA reports: trafﬁc sources, pageviews, search terms, visitor location, etc.• Only the metrics you want to see• Organized exactly how you want to see it• Create report combinations that dont exist by default
Metrics vs. Dimensions • Metrics: think Numbers (145 visitors, pages, or goals) • Dimensions: think Descriptions (145 visitors in NC who came from Organic Search)
Example: Where are AaEQuestions Coming From?• Want to measure AaE Submissions and total visitors (Visits and Goals - metric)• Where are Ask an Expert submissions coming from? (Geography - dimension)• How are these visitors ﬁnding the Ask an Expert form? (Trafﬁc source - dimension)
Step 1. Select Metrics• We are choosing metrics related to AaE Goals• Drag and arrange in any order you prefer
Step 2. Select Dimensions • Pick a Primary dimension • Choose the order of drill-down dimensions
Custom Variables• Create additional, custom trafﬁc segments • visitor types • which sections are most popular
Step 1. Whats the scope? • Visitor-level — the individual that visits the site, and everything about that person • Session-level — the visit itself and everything that takes place during that time • Page-level — individual pages that the visitors interacts with. Generally a pageview.
_setCustomVar(index, name, value, opt_scope)• Name-value pairs (section, horses)• index: the slot for the custom variable. limited number. 1-5.• opt_scope: 1 (visitor-level), 2 (session- level), or 3 (page-level, the default).