Solved

Google analytiques - category

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

691 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