Jump to content

Google java scripts


Recommended Posts

Hello,

I am tweaking and studying my e-shop to be as fast as possible.

Today I noticed on WebPagetest that besides other things there is this:

URL: http://www.google-analytics.com/plugins/ua/ec.js
Loaded By: http://www.google-analytics.com/analytics.js:3
Host: www.google-analytics.com
IP: 173.194.112.227
Error/Status Code: 200
Client Port: 61419
Request Start: 1.497 s
Time to First Byte: 43 ms
Content Download: ms
Bytes In (downloaded): 1.7 KB
Bytes Out (uploaded): 0.3 KB

URL: http://www.google-analytics.com/r/collect?REMOVED_TOO_LONG
Loaded By: http://eshop.kouzelna-svatba.cz/18-obchod:1
Host: www.google-analytics.com
IP: 173.194.112.227
Error/Status Code: 302
Client Port: 61419
Request Start: 1.585 s
Time to First Byte: 67 ms
Content Download: ms
Bytes In (downloaded): 0.9 KB
Bytes Out (uploaded): 1.9 KB

URL: https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-59199520-1&cid=654510997.1428502523&jid=814181501&_v=j34&z=1958616918
Loaded By: http://eshop.kouzelna-svatba.cz/18-obchod:1
Host: stats.g.doubleclick.net
Error/Status Code: 200
Client Port: 0
Request Start: 2.219 s
DNS Lookup: 33 ms
Initial Connection: 48 ms
SSL Negotiation: 485 ms
Time to First Byte: 62 ms
Content Download: 1 ms
Bytes In (downloaded): 0.2 KB
Bytes Out (uploaded): 0.6 KB

I have installed google analytics module so I understand why first two scripts are present. But what is the last doubleclick one? I know it's from google as well, but what is it for and is it really needed? In this report it took 0.6s to load and it slows down the page load, it takec cca 20% of the time. Sometimes it's even 1s. Thanks for any oopinion.

Edited by peal (see edit history)
Link to comment
Share on other sites

Found it finally. In case somebody is curious...

 

First two requests belongs to Google Analytics and is probably used by almost everyone.

Third request belongs to Google as well, but is related Advertising features. So in case you are not advertising or you don't need some specific statistics, you can disable it in your GA panel. See details here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...