Implementing 3rd Party Tags in DTM

nicola_tincknel

15-10-2015

Hi there,

 
I need to implement this piece of third party (Google AdWords) code using DTM and am getting an error message - "Unexpected token: operator (<) (line: 2, col: 0)"
 
<!-- Google Code for Job Application Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1069691071;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "JuECCPnNxwQQv-GI_gM";
var google_conversion_value = 1.00;
var google_conversion_currency = "GBP";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1069691071/?value=1.00&amp;currency_code=GBP&amp;label=JuECCPnNxwQQv-GI_gM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
 
 
Is anybody able to explain why this is?
 
Thanks so much for your help!

Nicola

 

Accepted Solutions (1)

Accepted Solutions (1)

mikethompson

15-10-2015

Try using one of the HTML options (Non-sequential HTML) instead of Javascript for a block like that which contains <script> and <div> tags.