Adobe target injecting a script with script attributes | Community
Skip to main content
matthewr8312153
July 2, 2019
Solved

Adobe target injecting a script with script attributes

  • July 2, 2019
  • 1 reply
  • 1942 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Shruti_Premkumar

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

1 reply

Shruti_PremkumarAdobe EmployeeAccepted solution
Adobe Employee
July 5, 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?