Google Analytics can now be used with the Hosted Checkout. Google Analytics Tracking ID can be used to track and generate key eCommerce metrics relating to customers' visits to checkout pages. Please use HCO field "x_ga_tracking_id" to pass Tracking ID.
Please refer to Hosted Checkout Payment Pages Integration Manual to learn how to use HCO fields.
To get the Tracking ID from Google Analytics, please follow the instructions in here:
https://support.google.com/analytics/answer/1032385
https://support.google.com/analytics/answer/1032385
For more help on Google Analytics please visit: https://support.google.com/analytics