s-code file doesnt load and _satellite.settings is undefined when I switch to staging. | Community
Skip to main content
Vikaz
Level 2
Aug 13, 2018 12:41 PM UTC
Solved

s-code file doesnt load and _satellite.settings is undefined when I switch to staging.

Hi Team,


I am trying to test some new rules on staging library but I cant see them firing. On investigating I found that s-code file doesnt load and _satellite.settings is undefined when I switch to staging. I tried using both DTM switch and setting the localstorage value directly.         

Can you help ?

Thanks,
Vikas

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Vikaz
VikazAccepted solution
Level 2
Oct 16, 2018 10:13 AM UTC

The issue was due to the async attribute placed in the script. Its now fixed. Hope this info helps someone else

Thanks

4 replies

Vikaz
VikazAuthorAccepted solution
Level 2
Oct 16, 2018 10:13 AM UTC

The issue was due to the async attribute placed in the script. Its now fixed. Hope this info helps someone else

Thanks

Translate
jantzen_b
Employee
Aug 13, 2018 4:43 PM UTC

Sorry, I assumed you had never published. If you have published before, you can ignore my first response.

To clarify, when you load your site, are you able to see your DTM production library load and rules fire? Is it only when switching to staging via a browser extension or the console command?

Also, would it be possible to share a URL of the page so the community members can help troubleshoot?

Translate
Vikaz
VikazAuthor
Level 2
Aug 13, 2018 3:48 PM UTC

We've done selective publish of our rules to live across last couple of days. Do you suggest pushing all unpublished rules to live ?

Translate
jantzen_b
Employee
Aug 13, 2018 3:37 PM UTC

Try publishing your production library once. You can approve and publish a blank rule if you'd like.

Translate