Solved

Google analytiques - category

Posted on 2011-02-11
4
375 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

685 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