Tracking

If you are using any of Firework e-commerce app/extension/cartridge (like Shopify, Magento, SFCC etc.), you do not need to implement the purchase tracking manually. It is handled by the app/extension/cartridge. Please refer to the purchase tracking section of the e-commerce platform integration doc for more details.

Firework provides a way to attribute tracking events, such as "purchase", with additional properties like value and products

Embed Analytics Script Tag

Make sure the Firework script is injected into <header> at all your pages where you want to call the tracking function. Usually, it's the header of the checkout page.

<script async type="text/javascript" src="//asset.fwcdn3.com/js/analytics.js"></script>

Call the relevant push event whenever it is needed.

Last updated