Forum Moderators: open

Message Too Old, No Replies

Performance Issues with 3rd party tracking code

         

cade

5:01 am on Mar 29, 2004 (gmt 0)

10+ Year Member



Is there any performance risk in implementing third party javascript tracking code into the head section of my documents.

I am wondering what would happen to my pages if for some reason, the server running the tracking codes was down or otherwise unavailable - would this affect the performance of my pages?

Cheers,
Cade.

Purple Martin

5:15 am on Mar 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Having the third-party code working in your page will affect performance because there will be extra info sent to the third-party server. However, the performance hit from this will probably be negligable.

If the third-party server is down it should not adversly affect your page.

keyplyr

5:24 am on Mar 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




If the third-party server is down it should not adversly affect your page

Of course it depends on many factors, but I experienced periodic negative results from 3rd party tracking scripts. If there was a problem, my page(s) would not load until the time-out kicked in. I finally removed the JS snippets from my pages for this very reason.

This was due to their occasional server down-time as well as just slow router points along the way. You might want to do a trace-route to see just how many router points away they are from your server.

Purple Martin

5:56 am on Mar 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should be able to get around any time-out problems by calling the third-party script from the onLoad event. You would lose stats for people who click away before the page finishes loading, but you've built a lean and engaging page, right? ;-)