Here’s a breakdown of what you can do with the JavaScript SDK disabled vs enabled:

The following can an still be done if JavaScript SDK is disabled:

The following requires JavaScript SDK to be enabled:

  • Opening the Smile Panel (via JS)

  • Points spending at checkout (✅ Available to merchants using Shopify Plus only)

  • Rewarding for custom actions (via JS) (✅ Available to merchants on the Enterprise plan)

  • Any custom javascript/code using methods, objects, or listeners from Smile.js

How to enable or disable JavaScript SDK

In order to make use of the features/methods/objects/listeners exposed by Smile.js (JavaScript SDK), you'll want to enable JavaScript SDK in your Smile settings.

To enable JavaScript SDK, head over to Settings > Developer Tools, then click the Enable button in the JavaScript SDK section:

If you're looking to reduce load times, and don't require use of JavaScript SDK, you'll want to disable JavaScript SDK in your Smile settings.

To disable JavaScript SDK, head over to Settings > Developer Tools, then click the Disable button in the JavaScript SDK section:

Did this answer your question?