Is there any difference between using the Google Analytics Tracking Code or using the inbuilt Google API analytics section in Magento?

Using the Google API section seems 'neater' as I don't have to copy & paste code into my site. I assume Magento inserts this code automatically once configured.

I just wondered if there was much difference in terms of usability and features?

1 Answer 1


It depends on which version of Magento you are using. The new Universal Analytics Code is only available since version on the other hand only had the old code, which made it a pain to add any multiple event tracking.

So, if you're on, use the built in Google API. Anything prior to that I would consider adding the universal code yourself.

  • Old topic and all but where does the google api logic and code reside? I've turned on GTM and I would like to edit the GTM script to add another parameter. Category ID.
    – thismethod
    Commented Feb 17, 2017 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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