Customer Events / Custom Pixel: reduced product price variable

Customer Events / Custom Pixel: reduced product price variable

marcfs889
Shopify Partner
1 0 0

Hello,

 

I am encountering an issue within the Custom Pixel checkout process, specifically when handling price adjustments for products. If a product's price is reduced (for instance, from $19 to $16), I intend to capture the reduced price in the data object. However, the data consistently reflects the original, higher price.

 

Could anyone advise on the correct variable to use in order to retrieve the reduced price? Below is the structure of the current data object for reference:

{
item_id: variant.id,
item_name: variant.product.title,
discount: totalDiscount,
index,
item_brand: variant.product.vendor,
item_category: variant.product.type,
item_variant: variantName,
price: variant.price.amount,
quantity: item.quantity,
};

 

Best

Marc

Reply 1 (1)

Sam_Mahmud
Shopify Partner
295 9 15

Hi Marc,

Thanks for your query.

could you please share your website URL? i would love to check the datalayer.

 

Dynamic value tracking depends on the datalayer.

 

Thanks

 

 

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
sam.analyst4@gmail.com! or WhatsApp!
Solved? accept it as solution with like