Expand my Community achievements bar.

SOLVED

Adobe target injecting a script with script attributes

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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?