Link to home
Start Free TrialLog in
Avatar of workflow80
workflow80

asked on

Google analytics

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
Avatar of jeremyjared74
jeremyjared74
Flag of United States of America image

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: User generated image User generated image User generated image User generated image
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 ;-)
Avatar of workflow80
workflow80

ASKER

@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.
ASKER CERTIFIED SOLUTION
Avatar of Tony McCreath
Tony McCreath
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial