Shopify
Plugin Integration
Shopify can be installed into your Shopify website.
Go to Online Store - Themes and select “Edit code” of your current theme.

Make changes in “theme.liquid” file.
Add the script below to the end of the HTML document body (before the </body>). Fill in these instructions with your settings (see description of each setting).
<script>
var dmBrandId = "YOUR_BRAND_ID"; //Should be taken from Brand Panel
var dmBannerBtnSelector = "#openBannerBtn";
var dmDesktopConfig = {
buttonPosition: "bottom_right", //"bottom_right", "bottom_left"
buttonMarginLeft: 0,
buttonMarginRight: 0,
buttonMarginBottom: 0,
buttonScale: 70,
};
var dmMobileConfig = {
buttonPosition: "bottom_right", //"bottom_right", "bottom_left"
buttonMarginLeft: 0,
buttonMarginRight: 0,
buttonMarginBottom: 0,
buttonScale: 40
};
</script>
<script type="text/javascript" src="https://dm-plugin-assets.s3.us-east-2.amazonaws.com/dm-games-bundle.js"></script>
Preview:

Go back to the Brand Panel and Approve the Request to connect the plugin to the Brand Panel.
Plugin settings
Last updated
Was this helpful?