Adobe target injecting a script with script attributes

Avatar

Avatar
Boost 1
Level 1
matthewr8312153
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
matthewr8312153
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
matthewr8312153
Level 1

02-07-2019

Hi,

I was wondering if adobe target supports adding a script onto a page that has a custom script attribute? I'm running into an issue where I keep trying to inject a script with a custom attribute and it ends up injecting the script twice like this:

<head>

...

<script custom-attribute=12345 src='test-script.com/script.js'></script>

<script src='test-script.com/script.js'></script>

</head>

Any ideas if theres a step im missing?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 50
Employee
Shruthi_N
Employee

Likes

272 likes

Total Posts

236 posts

Correct reply

64 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Shruthi_N
Employee

Likes

272 likes

Total Posts

236 posts

Correct reply

64 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Shruthi_N
Employee

05-07-2019

@matthewr83121537 

Looks like the screen shot didn't come through. Do you mind providing a bit more details on what the page url is and what's the custom script attribute used?

Answers (0)