GA4 added to Zaraz and E-commerce tracking is enabled.
Checked zaraz is running in console, all OK, but when I add a zaraz.ecommerce event call to my tag as below, I see an error in the console: ‘zaraz.ecommerce is not a function…’
zaraz.ecommerce('Product Clicked', {
product_id: '1234',
sku: '1234',
category: 'My Category',
name: 'Product Name',
price: 123.45,
currency: 'GBP',
position: 1
});