Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have the two custom variables on our WordPress site:

_gaq.push(['_setCustomVar', 1, 'pubDate', 'June 6, 2014']);
_gaq.push(['_setCustomVar', 2, 'author', 'Sam']);

The first variable is the date that the post was published.

How do we search for all posts between two dates using this value? Is this possible?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.