***

GTM added support for experimental document.write on 27th October, thus the following info about Bing & Omniture is not be a problem anymore.

image130

***

 

Bing conversion code & Omniture code use a depreciated method called document.write which is not asynchronous and thus breaks when added into GTM:

image131Examples:

image132image133

The mstag.js contains document.write below:

<script type=”text/javascript”>

if (!window.mstag) mstag = {loadTag: function() {}, time: (new Date()).getTime() };

</script>

<script type=”text/javascript” src=”//flex.atdmt.com/mstag/site/9fb70167-8824-4ea7-8637-a58da54b6dc9/mstag.js” id=”mstag_tops”>

<script type=”text/javascript”>

mstag.loadTag(

“analytics”,{

dedup: “1”,

domainId: “ENTER_BingAdcenter_domainId_HERE”,

type: “1”,

taxcost: {{dataLayer.transactionTax}},

shippingcost: {{dataLayer.transactionShipping}},

// nonadvertisingcost: “0.00”,

revenue: {{dataLayer.transactionTotal}},

actionid: “ENTER_BingAdcenter_actionid_HERE”

})

</script>

 

Help pages

0117 3361103