If you're www.harveymaps.co.uk then there is already an onclick in your cart code. So best put the following just before the return statement.
Code:
fbq('track', 'AddToCart', {content_ids:['<actinic:variable name="ProductReference" encoding="perl" selectable="false" />'], content_type: 'product'});
Comment