Help Center

How do I integrate my changelog into a website?

Changefeed has a website widget that shows your users a notification whenever you release a new update. It looks like this:

https://yourwebsite.com
What's new?
2

The first step to enable the widget is to add a link to your changelog to the website, ideally in a visible spot like the navigation bar. That looks like this in HTML:

<a href="https://mycompany.changefeed.app">What's new?</a>

To enable the notifications for new releases, you need to also add the widget to the website. For that purpose, please copy the below code into your HTML. Do not forget to replace <YOUR_SLUG> with your changelog URL!

<script>
!function(c,h,a,n,g,e,s){c.ChangefeedObject=a;c[a]||(c[a]=function(){
(c[a].q=c[a].q||[]).push(arguments)});e=h.createElement(n);
s=h.getElementsByTagName(n)[0];e.src=g;e.async=true;e.defer=true;
s.parentNode.insertBefore(e,s)}
(window,document,'cf','script','https://widget.changefeed.app/min.js');
cf('create', '<YOUR_SLUG>.changefeed.app');
</script>

That's it! 🎉 Your users will now always be up to date with new releases.

Disabling the notification dot

If you would like to disable the notification dot on a specific link, add a data-changefeed-widget="false" attribute to the HTML like so:

<a href="https://mycompany.changefeed.app" data-changefeed-widget="false">
What's new
</a>
Subscribe to Changefeed updates
Copyright © 2019 Maximilian Stoiber e.U. · Terms · Privacy Policy · Impressum (DE)