Simple includes for dataLayer and Google Tag Manager scripts
- Replace
XXXXX
with your GTM ID.
Wordpress Template specific schema mapping to dataLayer
- replace line 31 with
YOUR-IP-address
<head>
...
<script>
dataLayer = [{
'x': 'x',
'y': 'y'
}];
</script>
...
</head>
<body>
<!-- Google Tag Manager -->
...
<!-- End Google Tag Manager -->
...