We're really not certain about how to successfully integrate your javascript snippet onto our pages in order to return Insights data from the website?
Using the default Javascript code that is displayed under our website and which looks similar to this -
<!--Dynamics Marketing Website Tracking Tag-->
<div id="XX"></div><script src="">mktdplp102cdn.azureedge.net/.../ws-tracking.js class="d365-mkt-config" style="display:none" data-website-id="XXX" data-hostname="XXX.svc.dynamics.com"></div>
<!--End Dynamics Marketing Website Tracking Tag-->
We have attempted to firstly integrate this into our Google Tag Manager container and then to just place it on the actual HTML page, first within the top of the <body> tag (it is not just javascript but is a <div> element so cannot sit within the <head> of the HTML) and then at the end of the <body> element.
None of these implementations work?
Can you advise on where we need to place your javascript code in order to get it firing correctly?