18
educating freelancers & small business owners in northern chester county pa Advanced Google Analytics: Custom Dimensions, Filters & Content Groupings June 2015 Speaker: Jeff Tincher, 610 Digital, LLC

Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

Embed Size (px)

Citation preview

Page 1: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

educating freelancers & small business owners in northern chester county pa

Advanced Google Analytics:Custom Dimensions, Filters & Content GroupingsJune 2015

Speaker: Jeff Tincher, 610 Digital, LLC

Page 2: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

GA can do MUCH more than record basic user and traffic data!

● Goals - track form completions, pages viewed, time on site, etc.

● Events - track non-page clicks like PDF views, download, external links, etc.

● Filters - control how and which data appears in a view

● Content Groupings - organize data by logical groups of content○ retail: mens/womens, shirts/pants○ news: world vs local

● Custom Definitions ○ Dimensions○ Metrics

● Connect to E-Commerce

Page 3: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Using GA Filters● Gives you control on how and what data is

shown in analytics

● Filters DO NOT work retroactively, so the data already in GA will continue to include the spam.

● Every time new spam sites appear, you need to update your filters

● TIP: Create at least TWO GA Views for your profile

a. all site datab. filtered

Page 4: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Multiple GA ViewsSee how the two views show different data?!

Page 5: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Get Rid of Referral SPAMHow to Create Filter

1. GA > Admin

2. Under View column, click Filters

3. New

4. Give Filter a Name

5. Select Custom Filter Type

6. Exclude, select Campaign Source the the list of fields

7. Type of paste in your filter pattern (regex is ok!)

darodar|semalt|buttons|blackhatworth|ilovevitaly|prodvigator|cenokos|ranksonic|adcash|hulfingtonpost|seo-|guardlan|porn|cheap-|domination|get-free|sexy|teens|4web

Page 6: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Why this is Important?!

Page 7: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

Custom Dimensions

Page 8: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

What are dimensions and metrics?Dimensions

the data you see in the rows in GA reports. Like Source, Page Title, Visitor Type, Geography, etc. Dimensions are the titles of the rows of data in GA.

Metrics

are the numbers that populate the rows and measure the dimension such as, Sessions, Users, Bounce Rate, Avg Session Duration, etc.

Page 9: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Creating Custom DimensionsWhere to Set Up -- Admin > Property > Custom Definitions

Page 10: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

PHP Code Example: By WordPress Category // Post categoryif ( is_single() ) {

global $post;$post_categories = wp_get_object_terms( $post->ID, 'category', array( 'fields' => 'slugs' ) );if ( ! empty( $post_categories ) && ! is_wp_error( $post_categories ) ) {

$post_categories = implode( ' ' , $post_categories );echo "ga('set', 'dimension1', $post_categories');\n";

}}

this is the dimension index

Page 11: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

PHP Code Example:Blog Posts by Word Count // Post length if ( is_single() ) { global $post; $word_count = str_word_count( strip_tags( $post->post_content ) ); if ( is_int( $word_count ) ) { if ( $word_count < 500 ) { $word_count_range = '< 500'; } elseif ( $word_count < 1000 ) { $word_count_range = '500 - 999'; } elseif ( $word_count < 1500 ) { $word_count_range = '1000 - 1499'; } elseif ( $word_count < 2000 ) { $word_count_range = '1500 - 1999'; } else { $word_count_range = '2000+'; } echo "ga('set', 'dimension2', '$word_count_range');\n";

Page 12: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Seeing the Data in GA

Page 13: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Visitors by Blog Post Length

Page 14: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

Content Grouping with Analytics

Page 15: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Content Grouping Example:By Furniture

Page 16: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

See details of each Grouping

Page 17: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Content Grouping Example:By Gift Type

Page 18: Advanced Google Analytics - Custom Dimensions, Filters & Content Groupings

www.ChescoMarketing.com | [email protected] #ChescoMG

Need Analytics Assistance?Contact me for a FREE Google Analytics Audit.

Jeff Tincher - 610 Digital, [email protected] | 610-590-4824

http://linkd.in/TinchLI | @JeffTincher

Download the slides at https://goo.gl/BXFHkZ