Giter VIP home page Giter VIP logo

jquery-gaat's Introduction

jquery-gaat

Google Analytics Advanced Tracking JS/JQuery

GAAT is a jQuery Plugin designed to enhance your Google Analytics external link and download tracking. It will automatically detect external links and track clicks to a virtual page, and will do the same for file downloads and email links.

You can specify which file formats you wish to track, in addition to the virtual paths which track each type of resources.

By default email links will be tracked to /email/

Extenal links will be tracked to /external/

Downloads will be tracked to /tracked/

GAAT requires the filepath to be present in the URL to succesfully detect and track downloads, if your files are served via a gateway page (ie: downloads.php?file=1) then you will need to adjust accordingly (use a property to store the real filename, for example)

credits

GAAT was developed for Further Search Marketing by Rob Welsby, see gaat-legacy.js, and ported to jQuery by myself. Feel free to use it in your websites, but please share if you change/improve anything.

jquery-gaat's People

Contributors

gadgetoid avatar

Stargazers

Jordan Neustrom avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

andiih

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.