Expand my Community achievements bar.

SOLVED

_satellite.__registerScript is not a function error

Avatar

Level 4

We are migrating from Signal to Launch. We had set up rules and migrated all script libraries. We have added Launch code snippet to the head tag of our page.

In the console we are getting below error.

_satellite.__registerScript is not a function.

We have tried loading required script libraries to page bottom/page top/window load but noting worked out.

Please help us in resolving this issue.

Note : We have our pages built in People Soft as we were not able to add Launch JS code snippet to the head tag. We have injected it via JS code.

(function() {

var head = document.getElementsByTagName('head')[0];

        var aatagjs = document.createElement("script");

        //aatagjs.async = true;

        aatagjs.src = "//assets.adobedtm.com/" + aaScriptId; //aaScriptId is a viarable holding our Launch Code

        head.appendChild(aatagjs);

    }());

1 Accepted Solution

Avatar

Correct answer by
Level 10

I also don't think having a javascript function that inserts the Launch code is a supported implementation. More info on how to deploy Launch can be found here

View solution in original post

2 Replies

Avatar

Level 2

The last time I saw this error was because someone had both DTM and Launch script references on the page.

Avatar

Correct answer by
Level 10

I also don't think having a javascript function that inserts the Launch code is a supported implementation. More info on how to deploy Launch can be found here