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
Solved

Google analytiques - category

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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 …
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…
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…

809 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