Embedding the Page

Embed the page in your website or documentation with a few lines of code.

Overview

The announcement page enables you to integrate release notes seamlessly into your website or documentation. You can maintain your existing website header and footer, ensuring a consistent user experience across your site.

Installation instructions

Prerequisite

1. Load the widget script

Add the following code snippet to the <head> section of your site.

<script src="https://embed-staging.released.so/1/embed.js" defer></script>

2. Place the embed code in your page

Add the following code snippet to the <body> section of your site. Unlike the widget, the page content renders where you position the element.

Ensure you replace the CHANNEL_ID attribute.

<released-page channel-id="CHANNEL_ID"></released-page>

3. Add a notification badge (optional)

To notify users about the availability of a new post, you can enhance the user experience by incorporating a notification badge on the link or button leading to the embedded page. This badge functions similarly to the notification badge found in the widget.

Add the following code snippet to the <body> section of your site where you want the badges to render.

<released-badge channel-id="CHANNEL_ID"></released-badge>

4. Customize the page (optional)

Customize the page to match your brand and app design using the page properties. Adjust the title and description, or change the colors according to your preferences.

Please see the documentation for a full list of configuration options.

Last updated