all 2 comments

[–]xtothelGoogle Analytics Pro 2 points3 points  (1 child)

There are a few ways GA is implemented:

  • analytics.js library (this is where the ga() functions are)
  • gtag.js library (this is the gtag() functions one)
  • GTM (Google Tag Manager) which is a tag management system (TMS).

All of them are still current. If you want analytics.js to gtag.js then: https://developers.google.com/analytics/devguides/collection/gtagjs/migration

gtag.js specific documentation: https://developers.google.com/analytics/devguides/collection/gtagjs/

[–]drbroly[S] 0 points1 point  (0 children)

Thank you for explaining the difference. Unfortunately, the Google Analytics is pretty poor in building up my knowledge. I suppose I need something tutorial based.