cancel
Showing results for 
Search instead for 
Did you mean: 

Source-Medium lost from /external/cart/add redirect to /checkout/cart

Source-Medium lost from /external/cart/add redirect to /checkout/cart

We have "Add to Cart" buttons on our landing pages that automatically add the product to the magento store cart. This is the url string that automatically adds the product to the cart in magento: /external/cart/add.

The problem is that the URL: /external/cart/add redirects to the check-out page with the URL string: 
  /checkout/cart - This is causing the source-medium to be lost by GA4

GA4 cannot record the source/medium as it is lost due to the redirect.
Is there another way to retain the source/medium even if there are redirects between the landing page and the store?

Any help solving this would be much appreciated!