Im trying to find out if its okay to use the same tracking ID from GA in Magento 2.

The customer has a magento 1.9 website now and im upgrading it to Magento 2. So, new website - same tracking codes? I cant find anything on Google Analytics migration on Magento.. Does anyone have any experience with this?

There's no events, and everything in GA is pretty much standard.. Is it ok to just use the same tracking IDs?

  • which code is not working – Amit Bera Aug 24 '17 at 11:12

Tracking IDs are tied to domains (properties), not your website software. So yes, it is fine (and expected, actually) that you use the same Google Analytics IDs on Magento 2 as you did for your site on Magento 1.

  • Great! Thanks =D So there should be no loss of data in Google Analytics? – Mukklan Aug 24 '17 at 16:02
  • Test to verify, but no, there should be no loss of data. – Ryan Hoerr Aug 24 '17 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.