Install

Put your Raffle widget on your website in minutes: copy the script and paste it into the head of your pages.
  1. Go to Widgets
  2. Select the widget to install
  3. Click Install at the top right

You can also click ⋯ next to the widget on the Widgets page and choose Install.

The Install dialog with the script and the widget's UID

The Install dialog with the script and the widget's UID

Click Copy script and paste the script inside the <head> tag of every page that should show the widget. See Script for details, and the other installation guides for platforms such as Google Tag Manager.

Once the script is live, what visitors search for and ask shows up in Insights. You can also try the widget on a live page before installing it for real, by adding the script through your browser’s developer tools.

The dialog also shows the widget’s unique UID. Click Copy UID if you need it, for example for the API or when talking to Raffle Support.

Overlay widgets

An overlay widget opens when a visitor clicks an element on your page, such as a search button. The dialog shows a second script, window.raffleApi.open("…"), to call from that element.

The extra script for overlay widgets

The extra script for overlay widgets