I'm using this Module in order to set up a short URL to give out to incoming ads and/or e-letter campaigns and have the link tracked via Google Analytics.
I discovered that there is a limit of 50 characters that can be in the Query segment (after the "?")
i.e. I have www.example.org/test with a path redirect to
?utm_source=key1&utm_medium=key2&utm_campaign=key3 (49 characters used here.)
As a work-around, I changed my keywords to fit within this limit. But if more tracking options are used, or longer keywords the limit will easily be reached. See http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55578 for more details on the GA URL builder.
Can the max character length be made longer?
Thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | path_redirect-5.x-1.x_querylength_2.patch | 2.9 KB | HorsePunchKid |
| #2 | path_redirect-6.x-1.x_querylength_2.patch | 1.67 KB | HorsePunchKid |
| #1 | path_redirect-5.x-1.x_querylength_1.patch | 2.35 KB | HorsePunchKid |
Comments
Comment #1
HorsePunchKid commentedVery reasonable request. This patch bumps it up to 255. I realize that URLs can get longer than that, but I've never seen a practical limit determined, and this is a nice, standard number.
Comment #2
HorsePunchKid commentedOf course, it would help if the admin interface would allow more than 50 characters, too. Patch for 6.x included, too; make sure you get the right one.
Comment #3
HorsePunchKid commentedI tested these out again, going through the upgrade process, and they seem to work fine. I went ahead and committed them.
Comment #4
sbarsky commentedThank you!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.