We have an ecommerce site that tracks users with Google Analytics, currently it tracks e-commerce transactions as goals. Users enter their card details via a third party payment gateway.
The payment gateway allow their templates to be edited so we've added our analytics code to the landing page (enter card details) and success/failure page.
Visitors are never returned to our site by the payment gateway.
I've looked through the documentation but still couldn't find the answer to these two questions:
- Should we have cross domain linking (https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain#autolink) set up for this scenario since the payment gateway is a separate domain?
- Partly related to the first question: when we migrate from measuring goals to the enhanced e-commerce tracking are there any special considerations with this setup? Specifically when we actually measure the transaction this will take place on the Payment Gateway (not our site).
Many thanks