Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Bad Request - Firefox & Chrome - Google Analytics

Posted on 2010-09-20
16
Medium Priority
?
1,105 Views
Last Modified: 2013-12-07
I'm having a problem with a Google Analytics Tracking cookie. When users click off a promotional email we send out the site will load fine, but if they click off the initial page that was loaded they get a "Bad Request" message and the server logs a 400 status code.  This only happens in Firefox and Chrome.  IE works fine. If you clear out the __umtz cookie  (which is set by Google Analytics) in your browser the page and site will load fine. I pretty sure I've reached the end of the internet googling this problem but can't figure it out.  
0
Comment
Question by:Nex-Tech
  • 8
  • 5
  • 3
16 Comments
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33722033
It might be helpful to have a link to the error.
0
 

Author Comment

by:Nex-Tech
ID: 33725105
a link to the error? what are you talking about?  Its a 400 Bad request error.  It gets generated by the browser...
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33725263
Maybe if you re-write the question it would make more sense. I don't understand your question. This is probably why no-one has posted here yet.

The link is in an e-mail? I am trying to help, but I must understand your question.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:Nex-Tech
ID: 33725341
ok here is the link from the email

http://app.bronto.com/public/?q=ulink&fn=Link&ssid=14561&id=e5qh9lv82rbnhs19kbhvusazsa8qb&id2=7fy42z2s8582yzxbomstddrlowrcd&subscriber_id=bsspjtpbjdzjtegegsfhnblnzoenbkn&delivery_id=bwevblbpkmwbirrnyowwprudgeypbfg&tid=3.OOE.BYe0HQ.Bwyv.Nvgu..P2XU.b..l.A2CS.a.TJd28A.TJeCPQ.kFSm8g

Our email service provider does link tracking and conversion tracking so they rewrite our orginal url so they can drop a cookie.  Now you notice the page loads fine, but if you click anywhere else on the site, say the logo at the top, you get a bad request.  I troubleshooted by going and deleting individual coookies until the site would reload.  I found that the __umtz cookie, which is associated with Google Analytics was the cookie causing the problem, but I am unsure of why as it has never caused a problem before.  Again, this only occurs in Firefox and chrome (i havent tested opera or safari) but IE works fine amazingly.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33725684
OK, that will help. I opened the site in SeaMonkey which has some good web tools. It has an error reporting function that I used to view your errors with. I am sending a file and the error description. It is a good place to start. I need to look at it a little better to find the error causing the 400 error.

I am going to be busy for the next couple hours, but I will look at it as soon as I can. I will post when or if I find your solution.

errors.txt
the-file.txt
0
 

Author Comment

by:Nex-Tech
ID: 33726182
Thanks.  I'll try and go through the those logs a little more in depth.  Scriptresource is generated by .NET. I wouldn't think that would be causing the error though.
0
 
LVL 1

Expert Comment

by:tylermiranda
ID: 33729684
Did you ever find anything out jeremyjared74?  I think the scriptresource error is being generated because I am gzipping axd files.  I feel like it might be something with the cookie header length maybe?
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33729830
No, I am just now finishing up some work for a website I am designing. I will be free in about 30 minutes, and I will look at it. Sorry it is taking so long.
0
 
LVL 1

Expert Comment

by:tylermiranda
ID: 33729838
no worries.  Thanks.  I'm just out of ideas, lol.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33729957
OK, I found a person that was having the same error as you. I don't know if this is causing the Bad Request or not. If you understand the fix, I would try it and go from there. I will look some more for other problems.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33729999
OK, I think I figured it out. It is the + sign that Firefox doesn't like. I figured it out by following your link, and copying the URL from the address bar, then pasted it into Notepad ++. If you do that, you will see that the + sign is being converted to jumbled text in Firefox. Pick a redirect URL without the + and you should be good to go.
0
 
LVL 1

Expert Comment

by:tylermiranda
ID: 33730011
That goes along with what I have been thinking, I'll try a few different things and report back.
0
 
LVL 23

Accepted Solution

by:
jeremyjared74 earned 2000 total points
ID: 33730016
0
 
LVL 1

Expert Comment

by:tylermiranda
ID: 33730030
ah ha!  thats makes perfect sense!
0
 
LVL 1

Expert Comment

by:tylermiranda
ID: 33888397
one other thing....Ok I see now that this causes the problem, but how do I fix.  I'm using UTF-8 encoding on the server so that shouldn't be the problem.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 33889772
The encoding doesn't matter in the URL. I don't know why Firefox has trouble with it. Usually it is IE that has the issues.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question