Solved

Google analytics

Posted on 2011-02-14
4
539 Views
Last Modified: 2013-12-07
I have a blog with wordpress and there are several categories.

http://www.yoursite.com/category/article
We have already google analytics for http://www.yoursite.com/ . However we want to track the stats for only one category ( http://www.yoursite.com/category/) and keeping at the same time the traffic of the main site (http://www.yoursite.com/ ).
Some one told me to create a filter but i'm not sure if it will remove the traffic of the main site.

thanks for your hel^p
0
Comment
Question by:workflow80
  • 2
4 Comments
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 34892603
You best option is to filter the data through your Analytics Dashboard. Just create a custom filter. This will work, but it requires a little set-up.

how to create the filter:

Log in to the Analytics account. Click the website you are wanting to collect data on.

From the Dashboard navigate to the Custom Reporting link in the left side toolbar. Click the link to expand the options.

Click Manage Custom Reports

Click Add New Report from the top right corner.

Add your specifications from the left side toolbar options

Add the Page title option in the Dimensions Options on the left, drag it onto the grid.

You can add different filter specifications you want. If your categories are named you can just add that to the filter to, output report.

I'm not 100% sure but I believe you have to use a base URL or Domain Name for Google Analytics.

Here are a few screenshots: 1 2 3 4
0
 
LVL 23

Expert Comment

by:Tony McCreath
ID: 34896010
Another option is to create a second profile based on the same website account then add a filter to it that includes only traffic to a specific sub directory.

then you will effectively have two sets of analytics, one for the whole website and one for the sub directory.

As long as you use a separate profile, the filter will not stop you seeing the whole website on the main profile.

I can create screen shots if you want ;-)
0
 

Author Comment

by:workflow80
ID: 34919860
@Tiggerito

When I create another goole profile, It give a javascript code that I have to put in the main site. However we already have done this for the first google analytics account.
0
 
LVL 23

Accepted Solution

by:
Tony McCreath earned 500 total points
ID: 34923796
When you add the profile your asked if its for an existing domain. If you select yes I think it uses the same tracking code.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question