AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Special Characters in tracking parameters result in corrupted __utmz cookie and then error 400 #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Tracking Code (Javascript / ga.js)

Issue summary:
User send an email to his contacts.
In this email, there is a link. This link had GA parameters. utm_campaign 
fields includes special character -french letters, with accent marks.
When his contacts click on the link, they can load the page once. 
But when the reload the page, or keep browsing the site, the get an error 400 : 
the __utmz cookie is corrupted.

URL of the page exhibiting the issue:
any page 

Steps to reproduce issue:
1. clear cookies and cach
2. open [link]/?utm_medium=email&utm_campaign=éà&utm_source=source
3. browse site : you get error 400

Note : this does not happen on G. Chrome

Expected output:
What do you expect to see after performing the above steps?
No error, just the plain site. The cookie should be encoded right!

Actual results:
What do you actually see after performing the above steps?
Error 400 ,bad request

Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.

Original issue reported on code.google.com by jere...@36etoiles.com on 15 Nov 2011 at 10:25