The ROI Revolution Blog
« Analytics Seminars for Success is coming to Chicago! | Main | Using Website Optimizer with Google Analytics NEW!! »
Segmenting by Source/Medium and other stories
May 9, 2008
UPDATE: This script has been superseded by the GAREnhancer. All future updates will be made to this new script.
Have you ever gone to segment the content detail of a page by source/medium, only to find that you can segment by source or medium, but not both? Well those days of frustration are over, thanks to a GreaseMonkey script I wrote just the other day.
Not only that, but you will also be able to segment by transaction, adgroup, and referral path anytime a segmenting opportunity comes up. Now you can see exactly which transactions are attributed to each source, medium, source/medium, keyword, campaign, new or returning visitors, and more. I'm sure everyone can think of some good uses for this.
To expand your segmenting abilities, first download the latest greasemonkey firefox add-on. Then download my script right here. You should be able to just click and install it if you already have the GreaseMonkey firefox add-on installed.
A couple notes here about the script:
1. If you segment by one of the fields, then try and segment by another field, you may find that your options are once again limited. To fix this, segment by "none" first and then you should get the additional fields back. UPDATE: This issue has been resolved as of 06/06/08. Just re-download the script.
2. You can also segment by Product, Product SKU, and Product Category, but this may not work as well as anticipated. If that's the case, you can drill down into a product and segment by source/medium or whatever report you were looking at and see the data from the other direction.
If you've found this tool useful or if you have any suggestions for improvement, please leave a comment. Thanks!
UPDATE: I have a new script which adds a few additional fields to segment by, such as exit pages, page titles, browser and OS combined, and others. There are also some more obscure fields whose purpose is not obvious, so if you find one of them useful then let me know how you used it! Here's the script.
Note that if you have both scripts enabled at the same time, the second script in the list will override the first. Also, this second script makes your segment drop down rather long, so you may just want to stick with the first. I felt I should provide it, though, for completeness.
Interested in learning more about Google Analytics?
Attend our LIVE Google Analytics Seminars for Success training in Chicago, IL Wednesday, September 16th, 2009 and Thursday, September 17th, 2009 or get the latest tips and tricks sent to you via our free, twice-monthly Google Analytics newsletter.
Posted by Jeremy Aube, Analytics and Optimization Specialist at 10:18 AM
Permalink | Comments ( 14 ) | TrackBacks ( 0 )
Filed under: Analytics Tech
TrackBack
TrackBack URL for this entry:
/mt/mt-tb.cgi/295.
Comments
Amazing!!! This is the best Google Analytics enhancement I've ever seen. Especially the segmenting options for e-commerce metrics are very valuable.
Thanks.
Posted by: André Scholten at May 11, 2008 2:43 PM
@Andre: You're welcome! I'm glad you've found this to be useful.
Posted by: Jeremy Aube, Google Analytics Support Tech
at
May 12, 2008 8:15 AM
Awesome greasemonkey script and thanks for sharing! I'm going to play with it right now. :)
Posted by: Kyle James at May 12, 2008 1:39 PM
@Kyle: Thanks! Let me know how it works out for you.
Posted by: Jeremy Aube, Google Analytics Support Tech
at
May 12, 2008 2:11 PM
Thanks Jeremy - this is really great - have passed it around our team to use.
Posted by: Cheryl Hardy at May 12, 2008 8:29 PM
We were looking at using custom filters and exporting CSV files to see this type of information. This is a much better solution! Highly recommended.
Posted by: Philip Boyle at May 13, 2008 6:41 AM
@Cheryl: Excellent. I'm glad to hear that all of you can make use of it.
Posted by: Jeremy Aube, Google Analytics Support Tech
at
May 13, 2008 8:22 AM
@Philip: Thanks for the recommendation! I'm happy to hear that you're able to get the data you need using this.
Posted by: Jeremy Aube, Google Analytics Support Tech
at
May 13, 2008 8:27 AM
Great and very useful script. Thanks for sharing it with every one
Posted by: Emiel Kamzol at May 14, 2008 9:29 AM
I just installed it and wow, what a difference. Useful data from Source/Medium ... great idea! Thanks for sharing this.
Posted by: Wayne Gerber at May 14, 2008 10:42 PM
How about a Source/Ad Content feature request?
Posted by: John at June 16, 2008 6:53 PM
@John: Unfortunately I'm limited at the moment to what's actually out there. Normally you can only segment by source/medium in the all traffic sources report; I just made that segment available everywhere else as well. The Source/Ad Content segment does not exist in any other report, so most likely it's not available at all.
For now, you can always use filters to show this sort of data. One way might be to create a profile where you override the medium field with the ad content field. Then whenever you segment by source/medium, you're actually segmenting by source/content. There are a lot of variations of this that you could test out.
Sorry I can't give you more help than that.
Posted by: Jeremy Aube, Google Analytics Support Tech
at
June 17, 2008 9:13 AM
Hi Jeremy,
Thank you for these great scripts. I did install the first one and then override with the second scripts. It's work great especially for ecommerce analytics. Thank you once again.
Posted by: Rose at October 20, 2008 5:14 AM
@Rose: Glad you're finding the script useful! You might also want to check out the GAREnhancer, which includes the functionality of this script and does some other nice things like adding columns for raw number of goal conversions in addition to conversion rates.
Receive new blog posts immediately direct to your email inbox!










