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.
- Get from Google Analytics your data stream ID (with «G-» at the beginning).
- Openup site settings and switch to tab «Site optimization settings».
- Turnon «Add Google Analytics» (option
insert_ga
), enter your ID, and save your changes. - Wait approximately 15 minutes for the changes to take effect.