No commit activity in last 3 years
No release in over 3 years
This gem adds support for turbolinks to Google Analytics, Baidu Tongji & Bing UET tracking code. This gem is forked from the google-analytics-turbolinks gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
 Project Readme

Multi::Analytics::Turbolinks

Turbolinks page changes are often not detected with event tracking frameworks such as Google Analytics, Baidu Tongji and Bing UET.

Facebook's Pixel appears to work with turbolinks without problems.

These analytics and ad/event tracking products are also the worlds largest search providers. This gem adds support to fire these events on page changes, to more accurately work with turbolinks.

This gem was forked from joshdvir's google-analytics-turbolinks

Use with Rails and Asset Pipeline

Installation

Add this line to your application's Gemfile:

gem 'multi-analytics-turbolinks'

And then execute:

$ bundle

Or install it yourself as:

$ gem install multi-analytics-turbolinks

Usage

Signup to

Add the JS you need to your Javascript manifest file (typically application.js)

	//= require google-analytics-turbolinks
	//= require baidu-tongji-turbolinks
	//= require bing-uet-turbolinks

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Check LICENSE, MIT.