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
BedrockMission!

Learn More

View all

Sign in to view all badges

Implementing 3rd Party Tags in DTM

Avatar

Avatar
Validate 1
Level 2
nicola_tincknel
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
nicola_tincknel
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 5
Boost 3
Boost 1
View profile
nicola_tincknel
Level 2

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)

Avatar

Avatar
Validate 1
Level 4
mikethompson
Level 4

Likes

62 likes

Total Posts

102 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Shape 1
Shape 10
Boost 50
Boost 5
View profile

Avatar
Validate 1
Level 4
mikethompson
Level 4

Likes

62 likes

Total Posts

102 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Shape 1
Shape 10
Boost 50
Boost 5
View profile
mikethompson
Level 4

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.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
nicola_tincknel
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
nicola_tincknel
Level 2

Likes

6 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 5
Boost 3
Boost 1
View profile
nicola_tincknel
Level 2

15-10-2015

Thanks- that worked 🙂