gaTracker
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/gaTracker
软件介绍
This plugin is intended to simplify the process of adding Google Analytics tracking to a page, including the tracking of outbound links, mailtos, and downloads, which are not otherwise tracked by default. Calling the plugin does the following:
- Determine whether to include the SSL or non-SSL version of the GA script.
- Include the GA script (currently urchin.js, while ga.js is still in beta testing) from within try/catch to help suppress any issues GA may have from time to time.
- Set the _uacct variable to your GA tracking code.
- Call the urchinTracker() function once for the initial page load.
- Examine all of the links on the page and attach onclick events to external links, mailto links, and downloads.
- Call urchinTracker() when these links are clicked, prefixing them appropriately.
In addition to the tracking code, the prefixes used for each of the link types above, as well as the extensions considered "downloadable files" are configurable by the user.
It requires jQuery 1.2 or higher for the cross-domain $.getScript() call. Usage is simply:
$.gaTracker('UA-XXXXX-XX');Or you can specify options like so:
$.gaTracker(
'UA-XXXXX-XX',
{
external: '/external/',
mailto: '/mailto/',
download: '/downloads/',
extensions: [
'pdf','doc','xls','csv','jpg','gif', 'mp3',
'swf','txt','ppt','zip','gz','dmg','xml'
]
}
); C++沉思录
Andrew Koenig、Barbara Moo / 黄晓春、孟岩(审校) / 人民邮电出版社 / 2002-11-01 / 50.00元
《C++ 沉思录》集中反映了C++的关键思想和编程技术,不仅告诉你如何编程,还告诉你为什么要这样编程。本书曾出现在众多的C++专家推荐书目中。 这将是C++程序员的必读之作。因为: 它包含了丰富的C++思想和技术,从详细的代码实例总结出程序设计的原则和方法。 不仅教你如何遵循规则,还教你如何思考C++编程。 既包括面向对象编程也包括泛型编程。 探究STL这一近年来C++最重要的新成果的内在思想。一起来看看 《C++沉思录》 这本书的介绍吧!
