New answers tagged ecommerce
You should keep the return\thank you page after the payment is processed. Then add your gateway payment websites in Referral Exclusion list. In that case, paypal.com It won't be perfect (lot of people miss the last thank you page), but still better. If you see too many discrepancies between GA and your CRM, think about implementing paypal on-site payment.
Your script is running before the GTM's dataLayer object is ready as it's retrieved asynchronously. This means you need to wait the load event is fired/triggered. Your server side php code is not good as is writing into the dataLayer and definitely is the root issue this code is not awaiting for the GTM's datalayer object. Instead of this just create a ...
Top 50 recent answers are included