Triggering widgets from page elements

Written by Support Updated over a week ago

To complete this process, you must have access to your website source code, be relatively comfortable with HTML (or have a developer that can help you).

It's possible to trigger widget overlays from a page element such as a link, say, in your masthead across your entire site. You can also trigger widgets from fixed elements such as an image or button that you serve (as opposed to a share button that you'd upload to your widget that is served by Friendbuy).

Here's an example of page text with a referral offer:

Step 1

The following lines need to be added under the <head></head> section of the page where you want to trigger the widget from a page element. Replace the XX-XXX shown below with the widget identifier found in the widget code (steps shown below).