- In Pubstack ADM UI, deploy the stack you want to preview, for example at 1%.
- Install the Resource Override chrome extension
- Go on the website, open the console (f12), go to the Network tab and find the Pubstack ADM tag: filter on pbs; the file will be named after the tag id (= site id)
- Right-click ⇒ Copy ⇒ Copy link address
- Open resource override. Click on Add Rule ⇒ URL → File. Paste the link address as the URL.
- Go back to the page. In the console, click on the Pubstack ADM tag and copy the entire content of the script
- In Resource Override, next to your rule, click on Edit File. Paste the content.
- Now for the forcing part. In the code, go to “stacks” and find the stack that you want to force the version on. Depending on the account, there might be several stacks listed.
- In “versions”, carefully edit the content: remove all the specified versions and ratios and replace them with the version that you want to force on the website, with a ratio of 100.
- Save & Close. Go back to the website, refresh the page.
- Check if you override is applied: In the console, in Network, the Pubstack ADM tag should now display the following message
If so, your override is applied. If the edited code is correct and the specified version exists, it should be the one loaded on the website.
Remember to disable Resource Override after you are done troubleshooting