Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

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 Akzeptierte Lösung

Avatar

Korrekte Antwort von
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?

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
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?