fbpx
'Add to Cart', '#6303']); }); $( '.add_to_cart_button:not(.product_type_variable, .product_type_grouped)' ).click( function() { _gaq.push(['_trackEvent', 'Products', 'Add to Cart', ($(this).data('product_sku')) ? ($(this).data('product_sku')) : ('#' + $(this).data('product_id'))]); }); }); gs (48cm X 90cm Bag) + Delivery", "content_ids": "[\"wc_post_id_6303\"]", "content_type": "product", "value": "1740", "currency": "ZAR" }); $( '.single_add_to_cart_button' ).click( function() { _gaq.push(['_trackEvent', 'Products', 'Add to Cart', '#6303']); }); $( '.add_to_cart_button:not(.product_type_variable, .product_type_grouped)' ).click( function() { _gaq.push(['_trackEvent', 'Products', 'Add to Cart', ($(this).data('product_sku')) ? ($(this).data('product_sku')) : ('#' + $(this).data('product_id'))]); }); });