This is only relevant to people who need to set pushParameters and the pushAllTags command at the same time. This did not work in the version of the standalone tagmanager from max-favilli.
When this works, I'll ask Tobias (tmaier) to pull it.
I also added the latest version of max-favilli/tagmanager.
This gem provides Tag Manager for Rails asset pipeline.
It includes the CSS; SCSS and LESS version of the stylesheet.
Tag Manager version 2.4.2 8d91c8683546409ab9ec459456f12afa1a0a870f
Add the tagmanager-rails gem to your Gemfile.
gem 'tagmanager-rails'
And run bundle install
.
The Tag Manager file will be added to the asset pipeline.
Add the following line to app/assets/javascripts/application.js
:
//= require bootstrap-tagmanager
Add the following line to app/assets/stylesheets/application.css
:
/*
*= require bootstrap-tagmanager
*/
If you want to change the variables, include it with the Sass @import
method
@import 'bootstrap-tagmanager';
Do the same if you are using LESS respectively.
Feel free to open an issue ticket if you find something that could be improved.
- Upgrade CSS and LESS version of stylesheet
- Convert LESS to SCSS
- Update
TAGMANAGER_VERSION
- Update Changelog and README
Many thanks to max-favilli for Tag Manager and all Rails committer for Rails.
Copyright Tobias L. Maier, released under the MIT License. Tag Manager itself is under Mozilla Public License. See license.txt of the project.