Snippet generator

Pick your platform and options, paste the code into your shop, then press Verify to see your events arrive. The link of this page keeps your options, so you can share it. It holds only your client id and options, never a key.

Platform

WooCommerce, PrestaShop, Magento and Google Tag Manager come later.

A number, shown in the back office under Settings › Account.

The product id of your catalogue feed, or your template's expression for it.

Two letters (NO, FR) or WW for worldwide.

Widget options

Your code

<script type="module" src="https://recommender.fitmytype.com/sr.js"></script>
<fmt-size-recommender
  clientId="{{ your client id }}"
  productId="{{ product id }}"
  availableSizes="{{ available sizes, comma separated }}"
  productImageUrl="{{ absolute image url }}"
  language="{{ store language }}"
  shopCountry="WW"
></fmt-size-recommender>

Verify

After pasting the code, open a product page, add a product to the cart and place a test order. Verify checks every 5 seconds for 15 minutes which of these events arrived. It reads counts only, never your events' data.

  • product: not seen yet
  • cart: not seen yet
  • transaction_end: not seen yet