WPIntell

Source evidence

Order status

Datalayer for WooCommerce FREE · support · 2024-06-01T14:11:00+00:00

mixedsentiment
mediumseverity
0.66relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
AWT resolved
I have a question about your plugin, does your plugin maybe have the ability to add the order status to the data layer so that when I retrieve the dataLayer I can check if the order status is Completed then I will do whatever, if not then not… Hello @fahir , Yes, we have this order status parameter in the purchase event. The parameter is ecommerce.status . { "event": "purchase", "event_id": "9QcwiZWhT2", "ecommerce": { "currency": "USD", "transaction_id": "690", "affiliation": "Online Store", "value": 216, "tax": 0, "shipping": 0, "discount": 0, "coupon": "", "items": [ { "item_name": "Sunglasses", "item_id": 21, "price": 90, "index": 1, "item_brand": "", "item_variant": "", "quantity": 2, "item_category": "Accessories" } ], "status": "on-hold", "new_customer": false } } Any doubt I am available that’s awesome. Last question, does your plugin work in combination with other plugins like stape.io or GTM4WP because I only need that one functionality from your plugin since I tried every single thing to get the order status through custom code and I didn’t manage to do it. So I would be sending enhanced dataLayer from your plugin but initializing it from another plugin or custom code. Can it work like that? Hello @fahir The plugin works in conjunction with stape.io, yes, and with other datalayer objects it will also work, just worry about not having duplicate events if you use another plugin that also fires events for the datalayer.

Comments

3 shown
Heitor_tito 2024-06-01T15:46:00+00:00

Hello @fahir , Yes, we have this order status parameter in the purchase event. The parameter is ecommerce.status . { "event": "purchase", "event_id": "9QcwiZWhT2", "ecommerce": { "currency": "USD", "transaction_id": "690", "affiliation": "Online Store", "value": 216, "tax": 0, "shipping": 0, "discount": 0, "coupon": "", "items": [ { "item_name": "Sunglasses", "item_id": 21, "price": 90, "index": 1, "item_brand": "", "item_variant": "", "quantity": 2, "item_category": "Accessories" } ], "status": "on-hold", "new_customer": false } } Any doubt I am available

AWT 2024-06-02T07:47:00+00:00

that’s awesome. Last question, does your plugin work in combination with other plugins like stape.io or GTM4WP because I only need that one functionality from your plugin since I tried every single thing to get the order status through custom code and I didn’t manage to do it. So I would be sending enhanced dataLayer from your plugin but initializing it from another plugin or custom code. Can it work like that?

Heitor_tito 2024-06-02T15:20:00+00:00

Hello @fahir The plugin works in conjunction with stape.io, yes, and with other datalayer objects it will also work, just worry about not having duplicate events if you use another plugin that also fires events for the datalayer.