How to test staging library in production when not using the AKAMAI hosting? | Community
Skip to main content
November 22, 2016
Solved

How to test staging library in production when not using the AKAMAI hosting?

  • November 22, 2016
  • 1 reply
  • 1116 views

Hi,

we have recently moved for self-hosting on the satellite libraries. Now I've noticed that DTM debugger staging plugin does not work anymore, and neither does localStorage.setItem('sdsat_stagingLibrary',true); . This is due staging library is not in the same location as production library in our setup. Is there a way to define where the staging library can be found or is there any other way to enable this staging library in this kind of hosting?

Of course I could do all my testing in dev environments, but this way would be the preferred for me.

Thanks for help!

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 jantzen_b

HI,

Most of those switcher plugins just add '-staging' to the URL for your DTM emebd code. Since you've chosen to self-host, you'd need to update the header embed code to point to your staging library if you wished to test with your staging library on your production site. Unfortunately, the plugins have no way to know where your staging library might be located since it would likely be different for every customer. You might be able to accomplish this with a proxy rewrite using something like Charles Proxy. 

 

Thanks,
Jantzen

1 reply

jantzen_b
Adobe Employee
jantzen_bAdobe EmployeeAccepted solution
Adobe Employee
November 22, 2016

HI,

Most of those switcher plugins just add '-staging' to the URL for your DTM emebd code. Since you've chosen to self-host, you'd need to update the header embed code to point to your staging library if you wished to test with your staging library on your production site. Unfortunately, the plugins have no way to know where your staging library might be located since it would likely be different for every customer. You might be able to accomplish this with a proxy rewrite using something like Charles Proxy. 

 

Thanks,
Jantzen