Skip to main content

Widget Integration

Initialization

To integrate the Announcable widget, add the following configuration object and script to your application:

var announcable_init = {
widget_id: "your-widget-id",
// Additional parameters see below
};

<script type="text/javascript" src="http://app.announcable.me/widget"></script>;

Parameters

The announcable_init object accepts the following parameters:

ParameterTypeRequiredDefaultDescription
widget_idStringYes-Your organization's unique identifier. Find your widget_id in your account settings.
anchor_query_selectorStringNo-CSS selector for elements that should trigger the widget on click. When specified, this replaces the default floating button.
hide_indicatorBooleanNofalseControls visibility of the new release note indicator. Set to true when implementing custom indicators.