Commit bbb6e164 authored by Étienne Després's avatar Étienne Després

Fix Google Tag Manager code

parent f671b377
......@@ -52,10 +52,7 @@ export default class Html extends Component {
</head>
<body className={bodyClass}>
{ !!app.googleTagManager && !!app.googleTagManager.id &&
<script dangerouslySetInnerHTML={{__html: `
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=${app.googleTagManager.id}"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
`}}/>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=${app.googleTagManager.id}" height="0" width="0" style={{display: 'none', visibility: 'hidden'}}></iframe></noscript>
}
<div id="content" dangerouslySetInnerHTML={{__html: content}}/>
<script dangerouslySetInnerHTML={{__html: `window.__data=${serialize(store.getState())};`}} charSet="UTF-8"/>
......
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