How to Add WheelWidget Script to HTML Website

Option 1: Adding Script to Body

  1. Open your HTML file in a text editor.
  2. Copy the following code and paste it where you want the widget to appear in the body section of your HTML:
<script    src="https://files.wheelwidget.com/wheel-widget.umd.js"    async defer></script><wheel-widget id="YOUR_ID"></wheel-widget>

Make sure to replace "YOUR_ID" with your actual widget ID, which you can find in the admin panel of your WheelWidget account.

  1. Save your changes to the HTML file.
  2. Upload the updated HTML file to your web server using an FTP client or other file transfer method.

Option 2: Adding Script to Head

  1. Open your HTML file in a text editor.
  2. Locate the opening tag in your HTML file.
  3. Insert the following code between the opening tag and the closing tag:
<script    src="https://files.wheelwidget.com/wheel-widget.umd.js"    async defer></script><wheel-widget id="YOUR_ID"></wheel-widget>

Make sure to replace "YOUR_ID" with your actual widget ID, which you can find in the admin panel of your WheelWidget account.

  1. Save your changes to the HTML file.
  2. Upload the updated HTML file to your web server using an FTP client or other file transfer method.
  1. Open your HTML file in a text editor.
  2. Locate the opening tag in your HTML file.
  3. Insert the following code between the opening tag and the closing tag:
<script src="http://files.wheelwidget.com/wheel.js" data-id="YOUR_ID"></script>

Make sure to replace "YOUR_ID" with your actual widget ID, which you can find in the admin panel of your WheelWidget account.

  1. Save your changes to the HTML file.
  2. Upload the updated HTML file to your web server using an FTP client or other file transfer method.

That's it! The WheelWidget script should now be installed on your HTML website. You can use any of the three options mentioned above to add the script to your website. If you encounter any issues or have any questions, feel free to contact us.

We hope this instruction was helpful in adding the WheelWidget script to your HTML website. If you have any feedback or suggestions, please let us know.

This instruction didn't help me

Our support & Q team email