WordPress & Redirection & Passing URL Variables
-
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
- The topic ‘WordPress & Redirection & Passing URL Variables’ is closed to new replies.