solved Google Tag Manager

PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Has anyone looked into this yet? It seems unavoidable and sets a new level for staying competitive in the SEO space.

https://developers.google.com/tag-manager/
https://developers.google.com/tag-manager/devguide

Currently, the "out-of-the-box" code that Google Tag Manager supplies causes a 500 error, so it would need some love from you guys to make it work.

Thanks :)


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 10/03/16 09:52:19AM
michael
@michael
8 years ago
7,748 posts
Whats the code?
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
The GTM# is the unique id.

<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-53DPX2"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-53DPX2');</script>
<!-- End Google Tag Manager -->



--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
SteveX
SteveX
@ultrajam
8 years ago
2,584 posts
Try putting a space after each { and before each }
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-53DPX2"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){ w[l]=w[l]||[];w[l].push({ 'gtm.start':
new Date().getTime(),event:'gtm.js' });var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-53DPX2');</script>
<!-- End Google Tag Manager -->



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
That did it!! THANK YOU!! :)


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
michael
@michael
8 years ago
7,748 posts
This is perfect:
SteveX:
Try putting a space after each { and before each }

Another way to do it is to wrap the code in {literal} (YOUR CODE) {/literal}

Docs: "{literal}{/literal}"
https://www.jamroom.net/the-jamroom-network/documentation/development/3011/literal-literal

Tags