Solved

Bad Request - Firefox & Chrome - Google Analytics

Posted on 2010-09-20
16
1,032 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Several part series to implement Internet Explorer 11 Enterprise Mode
A/B testing is a simple and effective trick to get to know your audience, increase website conversions and make the most out of your online ad campaigns. It's widely available and doesn't need much tech knowledge to be executed, but the results it y…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now