1. Knowledge base
  2. Google Analytics 4

How to configure Google Analytics 4 data collection

Follow the steps in this guide to configure Google Analytics 4 data collection

Part 1: Set "Session timeout"

Part 2: Set "Data collection"

Part 3: Set "Data Retention"

Part 1: Set "Session timeout"

  1. Click "Admin"
    Enable Data Collection and Retention in Google Analytics - Step 2
  2. Click "Data streams"
    Enable Data Collection and Retention in Google Analytics - Step 4

  3. Click the Data stream
    Enable Data Collection and Retention in Google Analytics - Step 31 (1)

  4. Click "Configure tag settings"
    Enable Data Collection and Retention in Google Analytics - Step 32

  5. Click "Show more"
    Enable Data Collection and Retention in Google Analytics - Step 33

  6. Click "Adjust session timeout"
    Enable Data Collection and Retention in Google Analytics - Step 34
  7. Adjust the session timeout to your preference. We recommend using the maximum. (7 hours 55 minutes.)
    Enable Data Collection and Retention in Google Analytics - Step 36
  8. Click "Save"

Part 2: Set "Data collection"

  1. Click "Data collection"
    Enable Data Collection for Ads Personalization in Google Analytics - Step 4
    Enable Data Collection for Ads Personalization in Google Analytics - Step 5
  2. Turn on "Google signals data collection"
    Enable Data Collection and Retention in Google Analytics - Step 7
    Enable Data Collection for Ads Personalization in Google Analytics - Step 5 (1)
  3. Turn on "User-provided data collection"
    Enable Data Collection for Ads Personalization in Google Analytics - Step 6
    Enable Data Collection for Ads Personalization in Google Analytics - Step 7
    Enable Data Collection for Ads Personalization in Google Analytics - Step 8

  4. Click "User Data Collection Acknowledgement"
    Enable Data Collection for Ads Personalization in Google Analytics - Step 12
  5. Click "I acknowledge"
    Enable Data Collection for Ads Personalization in Google Analytics - Step 13

Part 3: Set "Data retention"

  1. Click "Data retention"

    Enable Data Collection and Retention in Google Analytics - Step 18
  2. Under "Event data", set "Data retention" to 14 months.
    Enable Data Collection and Retention in Google Analytics - Step 24
  3. Under "User data", set "Data retention" to 14 months.
    Enable Data Collection and Retention in Google Analytics - Step 26