How to execute GTM messaging in the case of shopping cart?
Briefly

How to execute GTM messaging in the case of shopping cart?
"Hi there,Your cart is about to expire Your cart is about to expire and so is your chance to enjoy free shipping. We saved all of the great items you've added to your cart so when you're ready to buy, simply complete your purchase and don't forget-use code ENGB20 at checkout."
"https://mydomain.com/index.php?route=checkout/cart&language=en-GB"
"How to push an email message when an order is not completed?"
Detect cart abandonment by firing dataLayer events or matching the cart URL (route=checkout/cart and language param). Push cart contents and any available user identifier (email, customer ID) into the dataLayer when the cart is updated or checkout begins. Use a GTM tag (Custom HTML, fetch to a webhook, or a Server-side GTM endpoint) to POST cart data to a backend service that stores the cart and timestamp. Have the backend listen for order-confirmation webhooks; if no order arrives within a configured window, send an abandonment email through SendGrid/Mailgun/SMTP or a marketing platform. Respect consent, store identifiers securely, and test in GTM Preview.
[
|
]