Commit 65ba1b91 authored by Shane Rice's avatar Shane Rice

moving dataLayer back to post.haml

parent 5f014084
......@@ -2,6 +2,11 @@
%html{lang: "en"}
%head
= partial "includes/layout/head"
dataLayer = [{
\ "postType": "#{current_article.data.postType}"
\ 'campaign': '#{current_article.data.campaign}',
\ 'tags': #{current_article.data.tags.split(", ")}
}];
%body{:data => {:spy => "scroll", :target => ".qnav"}}
= partial "includes/google/gtm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment