There are several scenarios where you might want to exclude changelog announcements from appearing on certain pages of your website:
👉External-facing pages: Public pages where announcements are only relevant to logged-in users
👉Landing pages: External traffic from marketing campaigns should see a clean, focused experience
👉Checkout or payment pages: Announcements could interrupt critical conversion flows
To hide changelog in-app announcements on specific pages, add the following code snippet to those pages before your Sleekplan widget script:
<script type="text/javascript">
window.SLEEK_SETTINGS = {session: {skip_announcements: true}};
</script>
ℹ️ Important Notes
The window.SLEEK_SETTINGS configuration must be placed before the Sleekplan SDK script loads
You need to add this code to each individual page where you want to hide announcements
This setting only affects in-app announcement pop-ups; other Sleekplan widget features will continue to work normally
If you're using a shared header file or template system, you can include this configuration in those shared files for the affected pages
The script above uses the SLEEK_SETTINGS global object. Check the Javascript SDK for more info .
