Advice and answers from the UserGuiding Team
Users
Engagement
Settings
Product Updates
Learn how to utilize the UserGuiding's JavaScript API Product Updates methods

Launch the Product Updates Widget

Triggers the in-app Product Updates Widget. Please note that this method opens a standalone widget, not the Resource Center product updates tab.


Type Definition

type launchProductUpdates = () => void


Example

Shows the Product Updates Widget


userGuiding.launchProductUpdates();


Hide the Product Updates Widget

Closes the Product Updates Widget display


Type Definition

type hideProductUpdates = () => void


Example

Closes the Product Updates Widget


userGuiding.hideProductUpdates();


Get Product Updates Posts

This method returns a list of metadata for Product Updates posts in the current language. Results are limited to most recent 10 posts.


Type Definition

type getProductUpdatesPosts = () => {
id: string
title: string
post_date: string
url: string
}[]


Example

userGuiding.getProductUpdatesPosts()


Output


[
{
id: '4937',
title: 'Introducing Banners — Announce, Promote, and Engage Right Inside Your Product!',
post_date: '2025-10-12T08:39:18.644000',
url: 'https://updates.userguiding.com/en/post/introducing-banners-announce-promote-and-engage-4937'
}
]
Did this answer your question?