Skip to main content
JavaScript SDK
Karen F avatar
Written by Karen F
Updated over a year ago

Introduction

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

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 Smile Plus plan)

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

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

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:


What's next?

Integrate Shopify Flow

Learn more

Did this answer your question?