All Collections
Collect
Digital Touchpoints
Triggering a widget programmatically
Triggering a widget programmatically

trigger, Javascript, widget, parameter, website

Michaela Isaksson avatar
Written by Michaela Isaksson
Updated over a week ago

You have the option to trigger a website widget programmatically with Javascript. Triggering a widget will override any triggering parameters and the survey will always show, with the exception if there's a survey already open.

Make sure the website script is installed and active on the website.

1. Open the activation you want to trigger and locate the activation you want to trigger and get its ID

2. Go to the Web Widgets tab screen in the Touchpoints section of the Dashboard

3. Click on the "action menu" at the right side of the screen and choose Edit

4. Get the "Activation ID" by copying the touchpoint ID from the URL
โ€‹

5. Trigger the survey by calling FBLY.open

On your website, call the Javascript method FBLY.open().
โ€‹

If the activation is active and present on your domain, the survey will open.

Did this answer your question?