I see that right now we only get total order count in custom pixel events can we get the total amount spend in the checkout complete event. Because for google ads tracking we have to send customer life time value. So that we can identify a customer LTV.
Can anyone from Shopify team help me with this regard.
@Dave_Strang Can you pls look into this. Can you pls pass this value in the checkout complete event. So that we can pass that value for Google Ads Tracking.
Also, please avoid tagging specific Shopify staff on the forums - teams will see topics which are related to their area, and different staff members monitor the forums on different days.
@Liam-Shopify No, Actually I want to get the total amount spend till now of a particular customer in my store. The video you have provided is only for the purchase total value. I need this because I have to send this to google ads so that we can identify the LTV of a customer. I hope It make sense.
Here is the screenshot of the value I need in the checkout complete event in custom Pixel.
@AMaL and @Liam-Shopify he’s not looking for the order total - he’s looking for how much that customer spent in the store since their first order (LTV)
@zamartz Yes But it will be so much helpful if we get it by default in the checkout complete event. Then we don’t have to store this value in session storage and then again retrieve it.
That’s why I am asking the Shopify Team to consider it to implement in the checkout complete event.
By the way how can we get this value before the checkout event. Can you give me any code example. It will be helpful for me. Until Shopify team implement it I will go with your way.
@Rahi_1994 both @curzey and I provided the only two ways to do it currently.
both require users to be signed-in before checkout. One adds it to the cart/cart-items, one has it stored on the session.
@curzey and @zamartz Can we get it if the user is not logged in. Because when we get this particular value from the order object in GraphQL API user don’t have to login still we get that value. Can we get this in similar pattern in custom pixel.
Or can you add it in the roadmap of custom pixel so that we don’t have to do all this tricks to get a simple value in the checkout complete event.