Skip to content

Shopline

Add DailyPlay to your Shopline store so customers can play games from your storefront.

Method Type Status
Custom HTML Floating Play button Available now
Simple iframe Inline game on a page Available now — see Embed on Website
Shopline app App embed in theme editor Coming soon

The recommended approach for Shopline. A floating Play button appears on the page; clicking it opens the game in a full-screen overlay.

  1. In DailyPlay, open your published game
  2. Click Share/EmbedEmbed
  3. Select Floating Play button
  4. Choose Shopline
  5. Ensure Custom HTML is selected (the app/plugin option is not yet available)
  6. Customize button text and color if needed
  7. Copy the snippet
  1. In Shopline admin, open the Theme Editor
  2. Navigate to the page or template where you want the game
  3. Click Add sectionCustom HTML
  4. Paste the copied embed code
  5. Save and publish

The embed code includes a placeholder origin in the widget URL:

https://app.dailyplay.ai/embed/[game-id]/widget?origin=https%3A%2F%2Fyour-store.com

Replace https://your-store.com with your Shopline store’s public URL (scheme + hostname, no trailing slash). For example, if your store is https://mybrand.shoplineapp.com, the encoded origin should be https%3A%2F%2Fmybrand.shoplineapp.com.

The Share/Embed panel generates the snippet with this placeholder — update it before saving in Shopline.


Goal Where to add Custom HTML
Button on every page A global footer or layout section included on all templates
Button on one page only That page’s Custom HTML section in the theme editor
Game inline on a page Use the iframe embed in page content instead

For a game embedded directly in page content (not floating):

  1. In DailyPlay, choose Simple iframe in the embed panel
  2. Copy the iframe code
  3. In Shopline, edit the page and add an HTML or embed block
  4. Paste the iframe code
  5. Save and publish

See Embed on Website for sizing and responsive layout tips.


A native DailyPlay Shopline app with an App embed block is in development. When available, you will:

  1. Install the DailyPlay app from the Shopline app marketplace
  2. Open the Theme EditorApp embeds
  3. Enable DailyPlay Floating Widget
  4. Configure game ID, button label, and color in the embed settings

Until the app is published, use Custom HTML as described above.


  • Confirm the Custom HTML section is saved and the theme is published
  • Check that the snippet is complete (CSS link, script loader, button, and modal)
  • Verify the game is published in DailyPlay
  • Double-check the game ID in the widget URL
  • Ensure the origin parameter matches your store URL exactly (URL-encoded)
  • Your store must be served over HTTPS
  • Confirm the <link> to dailyplay-floating.css is present and not stripped by Shopline
  • If your theme strips external stylesheets, use General HTML with Inlined CSS from the Floating Play Button guide and paste that variant instead
  • The widget uses a high z-index. If obscured, check for sticky headers or chat widgets with higher stacking order