redirect - google analytics receiving data vs. redirecting that causes NS_BINDING_ABORTED -


okay first off, sorry if title doesn't make sense...i'm not sure how else summarize it!

so here's issue:

i using jquery attach click event form's submit button. jquery click event triggers ga code track virtual page view can use step in goal funnel.

but happens there's no delay between ga code executing , submit, i'm concerned ga isn't getting data.

when @ what's happening in firebug or httpfox (browser addons @ requests/response) vs. charles proxy (external sniffer, separate browser) seeing 2 different things.

with firebug/httpfox see request ga status of 0 , showing (aborted) ns_binding_aborted

...though show bytes having been sent etc.. nothing response.

but charles proxy, seeing same request status of 200 , 1x1 pixel response.

so theory here ga is receiving data, browser moving on before gets actual response - i'm okay with, long ga getting data, i'm okay this. theory , don't know...

i know can write code delay execution of submit 500ms or whatever insurance, don't wanna have if it's not necessary..

and know if nothing else can see if data showing in ga ga has 24-48 hour delay on data hard qa.

does know or have suggestions experience...has else experienced "abort" thing , can 1 way or other if necessary delay submit or whatever?

httpfox not real sniffer. tries mimic one. data see on not happening in background. charles should better picture. if you're seeing 200 code in charles. chances hit going through.

the bad news when fire hits @ time page unloads. (outbound clicks, insite link clicks, form submissions, window.unload, etc) won't go through every , then. happens because google analytics js call appends gif page. , returns after that. browser load gif. when code returns browser free go, , if goes away page cancel pending requests may have, including small gif image. browser might haven't sent tracking code, or might have sent it, tcp connection didn't go through , browser need resend package, he's not willing anymore.

so if accuracy need you, should add 200-500 ms delay it. remember google analytics not accuracy tool, , if events don't go through won't affect final outcome of analysis.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -