?
Solved

Google analytiques - category

Posted on 2011-02-11
4
Medium Priority
?
378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

762 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