Pusing Standard Events Data to dataLayer

I am on the latest version of checkout extensibility. I have also added the code snippet in the image as a custom pixel. I also use the Stape Shopify App.

I know there are standard dataLayer objects provided by the App listed here: https://help.stape.io/hc/en-us/articles/13693436542877-Shopify-App-dataLayer

How can we push shopify standard events data (checkout_completed) for “checkout_completed” to dataLayer so that it can be used as dataLayer variable in GTM web container?

e.g. I want to push the event.data.checkout.order.customer.isFirstOrder to dataLayer.

The is useful so I can add this dataLayer variable as “new_customer” parameter for ecommerce event for new cusotmer reporting.

You cannot modify the data layer that the application generates. If you need additional parameters or other events - you need to add the required dataLayer.push in customer events based on shopify pixel api events

We will add a new isFirstOrder parameter for purchase_stape event in the next app update, this will happen within a week or so.