Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

For example, I have a post that's filed under category 1 and category 2. When someone clicks on it from category 2, I want to know the slug for category 2. If it links from the category 1 page, I want to know the category 1 slug.

Is this even possible?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

As anything that has to do with stats this is really an analytics task and as such not something that WP does natively.

You options are:

  • installing (if not already) some kind of analytics solution and getting data from it

  • add code to that post that will track referers (I won't really recommend this since it comes with performance issues and poor caching compatibility)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.