Implementing announcements

  1. Overview
  2. Changelog
  3. Implementing announcements

This guide shows you how to quickly set up announcements directly within your website.

You need to be able to edit your HTML for this and include a script to your site. If you are not able to update the HTML of your website, please contact your webmaster and send a link to this article.

1. Obtaining your identifier

Before you can get started, you need to know where to find the unique identifier for your changelog entries.

Log in to your FeatureShift admin dashboard and go to the changelog section. On the right side (on mobile it is below your entries) you can see the "Announcements" section. This is where you see and can copy your identifier. It will look something like that: 6ff4f050-408a-4c0f-9783-79c85bbd674a

2. Implementing the script

Next, you need to implement the following script to your website:

<script src="https://widget.featureshift.com/js/v1/announcements.js" data-featureshift-key="YOUR-IDENTIFIER" defer></script>

Replace YOUR-IDENTIFIER with the identifier from step 1.

3. Calling the script

For the last step, you need to call this script. This will trigger the panel to open. You can do this with your very own markup. You could, for example, use a bell icon, or just a text like "Updates" your users need to click. It can be any element you like and best fits your own website.

onclick="featureshift.announcements();"

So for example, you could link the word "Updates" like this:

<span onclick="featureshift.announcements();">Updates</span>

If you need help implementing this into your website, contact your webmaster or get in touch.


Was this article helpful?