2.4.1.1.13. Connecting the site to Google Analytics

Hosted websites can be connected to Google Analytics without the need to make changes to the site code manually. For this, a filter is used. Insert Google Analytics module PageSpeed. This filter automatically adds basic analytics JavaScript to every HTML page on your site.

  1. Get from Google Analytics your data stream ID (with «G-» at the beginning).
  2. Openup site settings and switch to tab «Site optimization settings».
  3. Turnon «Add Google Analytics» (option insert_ga), enter your ID, and save your changes.
  4. Wait approximately 15 minutes for the changes to take effect.
Content