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:
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
widget_id | String | Yes | - | Your organization's unique identifier. Find your widget_id in your account settings. |
anchor_query_selector | String | No | - | CSS selector for elements that should trigger the widget on click. When specified, this replaces the default floating button. |
hide_indicator | Boolean | No | false | Controls visibility of the new release note indicator. Set to true when implementing custom indicators. |