Hello,
We want to integrate a 3rd party analytics service, and we are asked to make API calls on certain user actions.
More specifically, we want to call API (via javascript) for the following:
1) Each product in the cart (name, price, quantity).
2) When the order is completed successfully, send the total order details (id, prices without vat, shipping costs etc)
Ideally, both the above will be called from the "Thank you for your order" page.
Could you give me a hint on the following:
1) Which is the template file I should be looking for to add the scripts?
2) Does the "Thank you" page have the complete order data I will be needing?
Thanks