To install Google Analytics simply go to Settings >> Integrations and search for Google Analytics. Once found, copy and paste your analytics code into the Environment variables code area.
Server side tracking
To install server side tracking for Google Analytics 4, please follow the instructions below.
Step 1: Go to Settings >> Integrations and find Google Analytics.
Step 2: Add the Measurement ID, which you can find from Google Analytics > Admin > Data Streams > [Select Site] > Measurement ID
Step 3: Add the Measurement API Secret, which you can find from Google Analytics > Admin > Data Streams > [Select Site] > Measurement Protocol API secrets
Note: In the name, you can type anything you want, such as CMS Max.