gaTracker

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-08 15:28:48

软件介绍

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'
                        ]
                }
        );

本文地址:https://codercto.com/soft/d/22938.html

人类2.0

人类2.0

皮埃罗∙斯加鲁菲(Piero Scaruffi) / 闫景立、牛金霞 / 中信出版集团股份有限公司 / 2017-2-1 / CNY 68.00

《人类2.0:在硅谷探索科技未来》从在众多新技术中选择了他认为最有潜力塑造科技乃至人类未来的新技术进行详述,其中涉及大数据、物联网、人工智能、纳米科技、虚拟现实、生物技术、社交媒体、区块链、太空探索和3D打印。皮埃罗用一名硅谷工程师的严谨和一名历史文化学者的哲学视角,不仅在书中勾勒出这些新技术的未来演变方向和面貌,还对它们对社会和人性的影响进行了深入思考。 为了补充和佐证其观点,《人类2.0......一起来看看 《人类2.0》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具