Integrate Google Analytics with a web application

  1. Goto the Google Analytics website. Create an account for the application

/imgs/ga/ga-dashboard.png

  1. Select the "Apps and web" if having both website and app.

/imgs/ga/ga-select-apps-web.png

  1. Set up a data stream for the website

/imgs/ga/ga-setup-data-stream.png

/imgs/ga/ga-setup-data-stream-2.png

  1. Copy the created data stream gtag code into the header part of website.

/imgs/ga/ga-cp-gtag.png

  1. Feel free to goto the Home or Realtime page to see the analytics.

/imgs/ga/ga-dashboard.png