Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Implementing 3rd Party Tags in DTM

nicola_tincknel
Level 2
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
mikethompson
Correct answer by
Level 5
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

0 Replies
mikethompson
Correct answer by
Level 5
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