
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
google-tag-manager-rails
Advanced tools
Add the following to your Gemfile:
gem 'google-tag-manager-rails'
Then run:
bundle install
In config/environments/production.rb :
GoogleTagManager.gtm_id = "GTM-XXXX" # Where GTM-XXXX is your container ID from Google Tag Manager
In app/views/layouts/application.html.erb:
<body>
<%= google_tag_manager %>
...
google-tag-manager-rails will only write out a tag if GoogleTagManager.gtm_id
is set. If you don't set the value in your development, testing, or staging environments, no tags will be written.
If you'd like to add them, in config/environments/{development,staging}.rb :
GoogleTagManager.gtm_id = "GTM-XXXX" # Where GTM-XXXX is your container ID from Google Tag Manager
FAQs
Unknown package
We found that google-tag-manager-rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.