How to track full funnel (ATC + Purchase) with Lovable frontend + Shopify Checkout?

Hi everyone,
I used Lovable to build my site with the Shopify integration. The site looks great, but I’m stuck on the analytics side.
The issue is tracking the funnel across two domains: the main site (Lovable) and the Shopify checkout. I know basic GTM, but I’m not sure how to bridge the gap between the two.
usually, Shopify apps handle the entire funnel setup automatically, but since the front-end is on Lovable, I have to set it up manually.
Does anyone have a guide or tutorial on how to implement tracking for “Add to Cart” and “Purchase” events in this specific setup? I want to make sure I don’t lose attribution when users switch domains.
Any help is appreciated!

need to check your code to fix the issue

@SmartJaguar221 I have the experience in solving the same issue. You need to review shopify admin panel to fix domain name Lovable expected.

Can you help me with this please? Sent you a DM

hey im having the same problem could you please help me out?