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

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

  • August 13, 2018
  • 4 replies
  • 2994 views

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.
Best answer by Vikaz

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

Thanks

4 replies

jantzen_b
Adobe Employee
Adobe Employee
August 13, 2018

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

Vikaz
VikazAuthor
Level 2
August 13, 2018

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

jantzen_b
Adobe Employee
Adobe Employee
August 13, 2018

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?

Vikaz
VikazAuthorAccepted solution
Level 2
October 16, 2018

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

Thanks