dataLayer value & price without tax

Is there an easy way to push prices & event values without tax using Stape Shopify App?

You can use Custom JavaScript Variable to calculate the item price and event values.

Thanks. And yes, that is plan B (which I’d rather avoid). Is there a more reliable solution? :slight_smile:

stape shopify app datalayer should have value without tax. Because shopify web pixel provide this in their document. you can check it out from below link:
If you don’t get it in the datalayer then I believe you can follow Shopify’s own document and add it in the custom pixel code. I use my own custom-built shopify datalayer following shopify document.

I am using Stape’s Shopify Plugin which uses values with tax within its parseEcomParams and parseItems functions :confused:

Not sure if there is a sort of valueWithoutTax parameter in the Web Pixels API at all.

@Dan any thoughts on this? Thanks :waving_hand:

@Md_Monirul_Islam are you referring to subtotalPrice?

@martinb you can pull it by amending that script, that would work if you’re in rush. We on our side meanwhile will consider adding that data to the purchase push.

1 Like

Yeah Dan, I referred that.

right, just double-checking on the subtotalPrice part. Thanks!

1 Like

In my case, subtotalPrice still seems to include tax (it all probably comes down to your Shopify markets/tax settings). :grimacing:

curios! @Md_Monirul_Islam is it taxless in your case?

It seems subtotal including the tax as well. It only excluding discounts. Best way to go forward to add a calculated value without including tax.