Socket
Book a DemoInstallSign in
Socket

jekyll-google-tag-manager

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jekyll-google-tag-manager

1.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

Jekyll Google Tag Manager Plugin

A Jekyll plugin to insert Google Tag Manager tags into the head and body of your site.

CircleCI Build Status Gem Version Code Coverage

Installation

Add the plugin to your site's Gemfile:

group :jekyll_plugins do
  gem 'jekyll-google-tag-manager'
end

And then execute:

$ bundle install

Usage

You must specify a single GTM container in your site's _config.yml.

google:
  tag_manager:
    container_id: GTM-NNNNNNN

Add the following right after the opening of the <head> tag in your site template(s):

{% gtm head %}

Add the following right after the opening of the <body> tag in your site template(s):

{% gtm body %}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/t-richards/jekyll-google-tag-manager.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 15 Oct 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.