Sales tracking
Shopify
{% if first_time_accessed %}<script>var pzOrderId={{order.order_number}};if(pzOrder={{checkout.order.line_items|json}} || {{order.line_items|json}},pzOrder){for(var pzProducts=[],pzI=0;pzI<pzOrder.length;pzI++){var line=pzOrder[pzI],gId=(line.product_id||line.product.id).toString();pzProducts.push({id:line.variant_id.toString(),gId:gId,price:parseFloat(line.price),quantity:line.quantity})}var pzTimer=setInterval(function(){window.pzIntegrationLoaded&&(clearInterval(pzTimer),window.pzConvertionTracker.notify(pzProducts,{order:pzOrderId}))},1e3)}</script>{% endif %}
Shopify + Recharge v1


Shopify + Recharge v2
Other platforms


Last updated