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

Avatar

Avatar

miikkal63163139

Avatar

miikkal63163139

miikkal63163139

21-11-2016

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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570
jantzen_belliston-Adobe
Community Manager

22-11-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

Answers (0)