Solved

Google analytiques - category

Posted on 2011-02-11
4
370 Views
Last Modified: 2012-05-11
Hi
Is there any way to add the code explain in the next link in any part of my blog wordress ?
http://code.google.com/intl/fr-CA/apis/analytics/docs/tracking/eventTrackerGuide.html

We have several categories and we want to have google stats for only one categoye. We already have access to our account in google analytics.

Thanks for your help
0
Comment
Question by:workflow80
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34880952
Hi workflow80,

What does the event tracking code have to do with tracking a WordPress category?  You will know how each category performs from the slug that is recorded in GA...
0
 

Author Comment

by:workflow80
ID: 34887906
Our marketing departement ask me to have google stats for a specific category in the wordpress blog. they sent me the link with the event tracking code. I'm not an expert of google analytics.

I didn't understand your comment regarding «..from the slug that is recorded in GA..»
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34890253
When you create a category in WordPress, the category name gets converted to a slug that becomes part of the URL:

http://www.yoursite.com/categoryslug/whatever/permalink/structure/goes/here

If you are not using the slug as part of the URL, you should.

Once you have the category in the URL, just set a filter in Google Analytics to track that directory and you're done.  No need to deal with events at all.
0
 

Author Closing Comment

by:workflow80
ID: 34891141
Thanks . I will create another question in the correct zone for the creation of filter in google analytics.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now