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

SOLVED

Adobe target injecting a script with script attributes

matthewr8312153
Level 1
Level 1

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?

1 Accepted Solution
Shruthi_N
Correct answer by
Employee
Employee

@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?

View solution in original post

1 Reply
Shruthi_N
Correct answer by
Employee
Employee

@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?

View solution in original post