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.

Comments

HorsePunchKid’s picture

Version: 5.x-1.1 » 5.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new2.35 KB

Very 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.

HorsePunchKid’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.67 KB
new2.9 KB

Of 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.

HorsePunchKid’s picture

Status: Reviewed & tested by the community » Fixed

I tested these out again, going through the upgrade process, and they seem to work fine. I went ahead and committed them.

sbarsky’s picture

Thank you!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.