Skip to main content
All CollectionsEmbedded Checkout
Distributed Commerce Button
Distributed Commerce Button

Instructions and documentation for the widget

Nicole Preston avatar
Written by Nicole Preston
Updated this week

Checkout, anywhere.

With a few simple lines of code, FEVO’s distributed commerce button allows you to install a checkout drawer anywhere on your site. Streamline your marketing efforts and keep your fans on page to make for a seamless fan experience.

*Please Note if you have not implemented the FEVO drawer on your website before, your domain may need to be whitelisted for the drawer to function. Please reach-out to your Success Rep or marketingservices@fevo.com with the URL where the drawer will be embedded to have that done.

General Installation

Base Code (US)

This base code needs to sit globally on your website, in the footer or right before the closing body tag, </body>.

<script src="https://fevo-enterprise.com/react/dist/js/widget/gm-widget.js?ver=1"></script>  

Base Code (UK)

This base code needs to sit globally on your website, in the footer or right before the closing body tag, </body>.

<script src="https://fevo-enterprise.uk/react/dist/js/widget/gm-widget.js?ver=1"></script>

Offer onclick Element:

Customize your button code with offer specific details to install any button, anywhere. Insert the completed button code into the CMS/page buildout.

onclick="GMWidget.open('gameday2');"

Basic HTML Code Example:

<button type="button" onclick="GMWidget.open('gameday2');" >BUY</button>

Did this answer your question?