Installing Wheel of Fortune on Drupal


This guide provides step-by-step instructions for installing the Wheel of Fortune script on a Drupal website. The script is provided as a JavaScript file that can be added to any page on your Drupal site.


Before getting started, make sure you have the following:

  • A Drupal website
  • Admin access to your Drupal site
  • Your Wheel of Fortune script code, which can be obtained from


  1. Log in to your Drupal site with admin credentials.
  2. From the dashboard, navigate to Structure > Block layout.
  3. Select the region where you would like the Wheel of Fortune script to appear. For example, you can choose the Footer section.
  4. Click Add block in the selected region.
  5. In the block settings, enter a title for the block, such as "Wheel of Fortune".
  6. In the body of the block, add the following code:
<script    src=""    async defer></script><wheel-widget id="YOUR_ID"></wheel-widget>

Make sure to replace YOUR_ID with your own unique ID, which you can obtain from your Wheel of Fortune account on

  1. Click Save block to save the changes.
  2. View your Drupal site to confirm that the Wheel of Fortune script is now appearing in the selected region.


Congratulations! You have successfully installed the Wheel of Fortune script on your Drupal website. Your visitors can now spin the wheel and engage with your site in a fun and interactive way.

This instruction didn't help me

Our support & Q team email