runt18 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Alternative async tracking snippet #867

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This tool is not designed to request help. It is only for reporting
issues and requesting features for the Google Analytics libraries.

If you are a developer and you need help, visit:
https://developers.google.com/analytics/help/

If you are not a developer and you need help, visit:
https://support.google.com/analytics
---------------------------------------------------------------------------
Name of related component: Documentation

URL of the documentation page : 
https://developers.google.com/analytics/devguides/collection/analyticsjs/

Issue summary:
"The alternative async tracking snippet below adds support for preloading, 
which will provide a small performance boost on modern browsers, but can 
degrade to synchronous loading and execution on IE 9 and older mobile browsers 
that do not recognize the async script attribute. Only use this tracking 
snippet if your visitors primarily use modern browsers to access your site." - 
Am i missing something or does this para say use the alternate snippet FOR 
MODERN BROWSERS? The two statements seem like they contradict each other.

Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots.

Original issue reported on code.google.com by supreeth...@gmail.com on 30 Jan 2016 at 7:12

GoogleCodeExporter commented 8 years ago
I'm not sure I see the contradiction. Can you elaborate?

This text says that if most of your users are on modern browsers, then you can 
safely use the async snippet. If most of your users are on older browsers, it's 
better to stick to the original snippet.

Original comment by philipwa...@google.com on 31 Jan 2016 at 7:01