Skip to content
English
  • There are no suggestions because the search field is empty.

Can we see Faslet's events in our Google Analytics?

The question

  • We would like to see the Faslet events in Google Analytics. Is the usual way your Google Tag Manager template? Can we add it without muddying the data we already have?
  • Does Faslet offer Google Tag Manager (dataLayer) or GA4 events, so we can measure per product whether a shopper used Faslet? Or should we use the widget callbacks, such as onOpen, onResult and addToCart?

Applies to

  • A shop with Faslet's size advice on its product pages that uses Google Analytics or Google Tag Manager; any shop platform

Answer

Faslet doesn't send events to your Google Analytics, your Google Tag Manager or its dataLayer: what the size advice measures goes to Faslet's own analytics. Our Google Tag Manager template is a way to install the size advice on your shop, not a way to send its events to your analytics, so it adds nothing to the data you already collect.

To measure it in your own analytics, your developer can send events from the callbacks on window._faslet, listed on the Faslet Global Object page. For example:

  • onOpen(productId): the shopper opened the size advice on that product.
  • onResult: a size was advised.
  • addToCart: the shopper clicked the button at the end of the size advice.

Good to know for your developer:

  • These are callbacks, not tracking events: one visit can call them more than once, so count per product and visit rather than per call.
  • onOpen means the size advice was opened, not that the shopper finished it.
  • onResult is also called without the shopper opening anything, when the button shows a size from their earlier advice (resultType 'auto'). To count only advice given in the size advice itself, count resultType 'result-screen'. It is not called in the size advice for kids.
  • addToCart means the button was clicked, not that the product reached the cart. It is not called at all on Shopify, Lightspeed, WooCommerce and InstantCommerce, where Faslet adds to the cart itself, or when Faslet keeps an add-to-cart script in your shop's settings: see our own addToCart callback is ignored.
  • Each callback is a single property: setting it a second time replaces the first. If your shop sets one already, add the tracking inside it; Faslet's Magento module, for example, sets onResult and addToCart itself.

Faslet's own figures are in the Faslet portal too: if your store has Product insights, it shows orders and returns per kind of product, including returns for size reasons.