WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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

I am creating an information landing page that I intend to cold email out to a bunch of potential clients. I need to track customers that not only open the email (I know how to do that) but track which email recipients actually navigated to the landing page.

In a custom web application I would do this by sending them a link to the landing page that's something like www.site.com/landing?rec=my@email.com, and upon seeing the querystring I would put that in the database.

Are there any WordPress plugins to do something like that?

share|improve this question

closed as off-topic by Howdy_McGee, Pieter Goosen, Mark Kaplun, birgire, bueltge Jul 14 at 17:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

used all my votes today. remember me to come back and upvote the Q. – kaiser Feb 20 '12 at 19:48

WP is not really interested in what you add to the url string. But you could extract the url with native php functions and add your parts to the global wp_query; object using add_query_arg(). Then you can receive it via get_query_var() anywhere you need it.

You could also use a hook to do the adding-job:

function wpse42947_add_query_vars( $vars )
    $vars[] = "WHATEVER";
    return $vars ;
// hook add_query_vars function into query_vars
add_filter( 'query_vars', 'wpse42947_add_query_vars' );
share|improve this answer

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