Skip to content

MisoAI/miso-shopify-client-js

Repository files navigation

Miso Shopify Client Script

This script integrates Miso's personalization service into Shopify with minimum engineering effort. For how personalization works in Miso, please visit documentation site.

This script serves for the following purposes:

  1. Collect user interaction events automatically for personalization model training.
  2. Provide custom elements to render recommendation results with ease.

Usage

This script is installed automatically once Shopify integration is setup via Dojo, the web dashboard for Miso.

Technical Detail

Interaction collection

Miso Shopify JS SDK parse Shopify page and find important interaction signal at best. As theme of each Shopify store differ, the SDK might failed to catch interaction in some cases. Please report an issue if you find this happens.

The SDK supports capturing the following interaction:

  1. home_page_view in home page.
  2. product_detail_page_view in product page.
  3. category_page_view in collection page.
  4. add_to_cart in all pages.
  5. remove_from_cart in all pages.

For detail usage of each interactions, please visit Miso API document.