gtm_on_rails 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d930846667618746fbb6cdbc1f74928f6118006e
4
- data.tar.gz: e5ec635f9ac76d4c4f0c3d2f52ef1fe7fa2fec8f
3
+ metadata.gz: 6a1b5d3ae409b4882f0655a700eea306135b04c5
4
+ data.tar.gz: 671a36348091ddf11b1819276a014f3ba7a5ca97
5
5
  SHA512:
6
- metadata.gz: 2897d0a268ec2d22f5c279d7e6d8da138222174cf8e12daa5a4ebd1eac268f23c448884bea2f7a7d78d0730c7b698e187ef7c045c949f14e617b94b51634fc85
7
- data.tar.gz: 118b23cb8e9f61f0db51c0fcf4d5d2a2af16a420596bfe49f4e073ef77ea25880ca71d262c161130a7518005fecfec233b862468acaaf9462120fb46c20096ad
6
+ metadata.gz: 4d6882ab50ba2d57fd6cdc17c0f06629f67adebd07d6fe46425c4aa3ae09945aa5c93101dfe7c754d77587fd8e422b8562170944e92de874c05ea769c8acd34a
7
+ data.tar.gz: 451868846a09f6d709793e70568d01416ca770d73b01c01ed4298b5aff2d897f91171cd0a45e3416c9728399324fae6aa8ea4eb5ceb7c45aa7fc1429db4d5aac
@@ -1,5 +1,7 @@
1
1
  <% begin %>
2
+ <!-- GTM on Rails -->
2
3
  <%= data_layer.print_on_html %>
4
+ <!-- End GTM on Rails -->
3
5
  <%-
4
6
  rescue => e
5
7
  if GtmOnRails.config.rescue_when_error_occurred
@@ -2,13 +2,13 @@ module GtmOnRails
2
2
  module TagHelper
3
3
  def render_gtm_on_rails_tag_in_head
4
4
  tags = []
5
+ tags << render(partial: 'gtm_on_rails/layouts/data_layer_tag')
5
6
  tags << render(partial: 'gtm_on_rails/layouts/google_tag_manager_tag_in_head')
6
7
  tags.join.html_safe
7
8
  end
8
9
 
9
10
  def render_gtm_on_rails_tag_in_body
10
11
  tags = []
11
- tags << render(partial: 'gtm_on_rails/layouts/data_layer_tag')
12
12
  tags << render(partial: 'gtm_on_rails/layouts/google_tag_manager_tag_in_body')
13
13
  tags.join.html_safe
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module GtmOnRails
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtm_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ykogure
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-06 00:00:00.000000000 Z
11
+ date: 2017-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails