• Good day everyone.

    I have a problem that I think should be relatively common but despite my hours of efforts I have not been able to find a solution in the forum or through the mighty power of google. Maybe I am just not looking int he right places.

    I am trying to track my email auto responder series effectiveness with Google Analytics campaign tracking capabilities. For more information please see https://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55578.

    What I am trying to do exactly is to send customers my email with a link that goes to https://www.mydomain.com/salespage/?var1=something&var2=anotherthing&car3=etc (var1,etc are just examples) that will then redirect to a page called https://www.mydomain.com/page1/sub1/sub2/sub3/ and have the variable string “var1=something&var2=anotherthing&car3=etc” passed to this page.

    The objective is to have the google analytics code read the pre-assigned variables in the url on the final landing page and record the information into my analytics account so that I can figure out what is and is not working.

    IMPORTANT:

    1) I need to use a redirect as the true landing page is way too long of URL if I want to use a plain text email. Please do not offer me suggestions on avoiding redirection – it is the sole purpose of this post.
    2) I have tried several redirect plugins including “redirection” which I believe used to work and addind the ?variable=something causing wordpress to 404 (no redirect). The plugin is supposed to redirect with the variables but does not.
    3) I am hoping that a simple plugin will do the trick, even if it is a bit of a work around for now… I do not want to edit the core wordpress files only to have them overwritten on the next update.

    If you have read this post, thank you – I hope it has at least engaged you to think about this important feature.

    If you have any insight at all as to a work around, I would also love to hear it as I am sure there are many other people interested in how they can start utilizing more advanced tagging techniques with Google analytics.

    Thanks in advance!

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter exids

    (@exids)

    *nudge*

    Anyone? Any ideas at all?

    Thread Starter exids

    (@exids)

    Ok, so I am stupid and I’m not really afraid to admit it at this point – the solution is right in front of us but maybe not well documented.

    Using the “redirection” plugin, you simple enter your source URL as you normally would, but here is the important two parts you must follow next:

    1) check the box “use regular expression”
    2) for the target url, make sure you do not use the full URL (including http). Maybe this is odd behavior for the version I am using but that is how it works for me.

    In any case, the answer is in the check box “use regular expression”.

    ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress & Redirection & Passing URL Variables’ is closed to new replies.