JS code
js code - added to custom js box in theme options
<script type="text/javascript">
(function(a,e,c,f,g,h,b,d){var k={ak:"874436278",cl:"Ad6RCJi3-WoQtq37oAM"};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[g]||(a[g]=k.ak);b=e.createElement(h);b.async=1;b.src="//www.gstatic.com/wcm/loader.js";d=e.getElementsByTagName(h)[0];d.parentNode.insertBefore(b,d);a[f]=function(b,d,e){a[c](2,b,k,d,null,new Date,e)};a[f]()})(window,document,"_googWcmImpl","_googWcmGet","_googWcmAk","script");
</script>
Next piece of code is the one im unsure of, do i add this to the same section (custom js box) or do i add it to the custom css box
<body onload="_googWcmGet('number', '0800 321 3309')">
<span class="number">0800 321 3309</span>
</body>
Many Thanks
Comments
the 2nd piece of code need to be added in the content because it's html. So you can add it into Column item or any other place where html tags are allowed.
(function(a,e,c,f,g,h,b,d){var k={ak:"874436278",cl:"Ad6RCJi3-WoQtq37oAM"};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[g]||(a[g]=k.ak);b=e.createElement(h);b.async=1;b.src="//www.gstatic.com/wcm/loader.js";d=e.getElementsByTagName(h)[0];d.parentNode.insertBefore(b,d);a[f]=function(b,d,e){a[c](2,b,k,d,null,new Date,e)};a[f]()})(window,document,"_googWcmImpl","_googWcmGet","_googWcmAk","script");
</script>
<span class="number">0800 321 3309</span>
</body>