Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Implementing 3rd Party Tags in DTM

Avatar

Level 2

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

 
1 Accepted Solution

Avatar

Correct answer by
Level 5

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

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