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

unexpected token < (line: 1, col:1)

Avatar

Avatar
Validate 10
Level 2
roberty10279373
Level 2

Likes

4 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
roberty10279373
Level 2

Likes

4 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
roberty10279373
Level 2

18-10-2017

I tried posting a non-sequential tag on DTM but got the unexpected token error.  Here's the non-sequential javascript:

<script async type="text/javascript" src="https://cdn.creditcards.com/shared/helix/0.1.3/helix-qa.min.js"></script>

Add Comment

-Robert

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

331 likes

Total Posts

2,247 posts

Correct Reply

811 solutions
Top badges earned
Springboard
Validate 500
Validate 250
Validate 100
Validate 50
View profile

Avatar
Springboard
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

331 likes

Total Posts

2,247 posts

Correct Reply

811 solutions
Top badges earned
Springboard
Validate 500
Validate 250
Validate 100
Validate 50
View profile
jantzen_belliston-Adobe
Community Manager

18-10-2017

Hi Robert,

That is because your tag isn't actually JavaScript. Anytime you see opening and closing tags (<script> and </script>), you're actually looking at a HTML tag instead. In your case, the HTML tag is calling a javascript file at the URL. Try deploying the tag as synchronous HTML instead.

Cheers,
Jantzen

Answers (0)