Google Analytics新代码可避免代码造成的延迟

  • 时间:
  • 浏览:0
  • 来源:大发uu快3_uu快3最新网站_大发uu快3最新网站

站长之家(chinaz.com)5月27日消息:Google官方Blog发布的文章称,Google Analytics的代码更新,用户可不都里能 在管理界面建立一一另一个多 新的配置文件。这次它们采用了异步追踪的法子 ,通常来讲另一一另一个多 用户浏览网页都会放慢,我不要 感觉到肯能代码下载而造成的延迟。

现在的Google Analytics管理界面提供了默认异步的跟踪代码,也提供传统的跟踪代码。官方建议站长们都能改用到新的代码,将代码放置在</head>刚刚。

官方博文如下:

We’re happy to announce that the asynchronous tracking tag, which came out of beta last week, is now available in your admin interface when you set up a new profile. This makes it easy for everyone to start off tracking new sites with this very fast, state-of-the-art tag.

Whether you’re tracking a single domain, or a more complex site with multiple subdomains or top level domains, there’s an option in the interface to give you exactly the code you need.

Simply select the scenario that fits your needs. The admin interface now provides the asynchronous tracking code by default, but if you need the traditional tracking snippet you can find it here

Enjoy your new, faster site!

Posted by Jesse Savage, Google Analytics Team

有好的文章希望站长之家帮助分享推广,猛戳这里我要我投稿