Browse Source

Adding Google Tag Manager

Signed-off-by: Mary Anthony <mary@blockstack.com>
feat/clarity-updates
Mary Anthony 6 years ago
parent
commit
fbfca1b4e6
  1. 1
      Gemfile
  2. 3
      Gemfile.lock
  3. 4
      _config.yml
  4. 1
      _includes/head.html
  5. 1
      _layouts/default.html

1
Gemfile

@ -30,6 +30,7 @@ group :jekyll_plugins do
gem 'jekyll-sitemap'
gem 'jekyll-toc'
gem 'jekyll-redirect-from'
gem 'jekyll-google-tag-manager'
end
group :development do

3
Gemfile.lock

@ -41,6 +41,8 @@ GEM
jekyll (~> 3.3)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-google-tag-manager (1.0.1)
jekyll (~> 3.3)
jekyll-livereload (0.2.2)
em-websocket (~> 0.5)
jekyll (~> 3.0)
@ -110,6 +112,7 @@ DEPENDENCIES
jekyll-avatar
jekyll-feed (~> 0.6)
jekyll-gist
jekyll-google-tag-manager
jekyll-livereload
jekyll-paginate (~> 1.1)
jekyll-redirect-from

4
_config.yml

@ -77,6 +77,10 @@ google_analytics: UA-125894815-1
# Google maps API key, get your key here: https://developers.google.com/maps/documentation/javascript/get-api-key
google_maps_api_key:
google:
tag_manager:
container_id: GTM-TPGGRT5
# Number of posts displayed on blog page
paginate: 10

1
_includes/head.html

@ -1,4 +1,5 @@
<head>
{% gtm head %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

1
_layouts/default.html

@ -4,6 +4,7 @@
{% include head.html %}
<body>
{% gtm body %}
{% include header.html %}

Loading…
Cancel
Save