You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured out to do this with Individual Buy Buttons, still don't have it working with Collection Code though.
Here it is in case someone else needs it:
`"DOMEvents": {
'click .shopify-buy__btn-wrapper .shopify-buy__btn': function (evt, target) {
var prod_name = ui.components.product[0].model.title;
var prod_qty = ui.components.product[0].selectedQuantity;
var prod_sku = ui.components.product[0].selectedVariant.sku;
var prod_price = ui.components.product[0].selectedVariant.price.amount;
Does anyone know if its possible to pass the Product Name, SKU and Price to Meta Pixel to the Meta Pixel and GTM/GA4?
Where would I find the variable names? Here is my add-to-cart tracking code within the Buy Button.
The text was updated successfully, but these errors were encountered: