---
updatedAt: 2025-11-07T12:36:21.000Z
agentTools:
  projectIndex: https://developer.marchex.io/llms.txt
---

# Retrieving Google Analytics 4 Configurations

## Retrieving All Google Analytics 4 Configurations

Using the GET method, you can retrieve your Google Analytics 4 Configurations.

**GET<https://edgeapi.marchex.io/marketingedge/v5/api/IntegrationConfigurations/GoogleAnalytics4>**

Results will be paged given the possibility of a large result set, so paging options can also be added to the request. For additional information please see our Paging Documentation

```json Response
{
  "paging": {
    "pageNumber": 1,
    "pageSize": 1000,
    "total": 1
  },
  "results": [
    {
      "integration_configuration_id": "ffa83516-5205-4959-a367-a10e58bd842c",
      "configuration_name": "GoogleAnalytics4 Integration Name",
      "type": "GoogleAnalytics4",
      "configuration": {
        "measurement_id": "cd485652-9a35-437a-befb-0312c98cd829",
        "api_secret": "secret-key"
      },
      "config_data": {
        "session_based_dni_upload_criteria": "All",
        "events": [
          {
            "name": "Name",
            "call_criteria": "AllMatchedCalls",
            "min_duration_value": 0
          }
        ],
        "event_parameters": [
          {
            "name": "Name",
            "static_value": true,
            "value": "1"
          }
        ],
        "user_parameters": [
          {
            "name": "Name",
            "static_value": true,
            "value": "1"
          }
        ]
      },
      "status": "enabled",
      "domain_access": {
        "billing_groups": [
          "4455",
          "4456"
        ],
        "group_owners": [
          "33344",
          "44433"
        ]
      },
      "created_datetime": "2023-04-06T13:35:07.923Z",
      "modified_datetime": "2023-04-06T13:35:07.923Z"
    },
    {
      "integration_configuration_id": "998831b4-5ff0-486c-bc06-4a2624bd4166",
      "configuration_name": "GoogleAnalytics4 Integration Name",
      "type": "GoogleAnalytics4",
      "configuration": {
        "measurement_id": "32bdce35-5a1a-47ea-8f58-c5fba53a685e",
        "api_secret": "secret-key"
      },
      "config_data": {
        "session_based_dni_upload_criteria": "All",
        "events": [
          {
            "name": "Name",
            "call_criteria": "AllMatchedCalls",
            "min_duration_value": 0
          }
        ],
        "event_parameters": [
          {
            "name": "Name",
            "static_value": true,
            "value": "1"
          }
        ],
        "user_parameters": [
          {
            "name": "Name",
            "static_value": true,
            "value": "1"
          }
        ]
      },
      "status": "enabled",
      "domain_access": {
        "billing_groups": [
          "1234",
          "2345"
        ],
        "group_owners": [
          "34343",
          "43434"
        ]
      },
      "created_datetime": "2023-04-06T13:35:07.923Z",
      "modified_datetime": "2023-04-06T13:35:07.923Z"
    }
  ]
}
```

***

## Retrieving Google Analytics 4 Configurations by ID

Using the GET method, you can retrieve your Google Analytics 4 Configurations.

**GET[https://edgeapi.marchex.io/marketingedge/v5/api/IntegrationConfigurations/GoogleAnalytics4/`<integrationconfigurationid>`](https://edgeapi.marchex.io/marketingedge/v5/api/IntegrationConfigurations/GoogleAnalytics4)**

Results will be paged given the possibility of a large result set, so paging options can also be added to the request. For additional information please see our Paging Documentation. See above for example of response.

***

## Searching for a Google Analytics 4 Configuration

Using the GET method, you can retrieve your Google Analytics 4 Configurations.

**GET ([https://edgeapi.marchex.io/marketingedge/v5/api/IntegrationConfigurations/GoogleAnalytics4\<query\_string\_params>](https://edgeapi.marchex.io/marketingedge/v5/api/IntegrationConfigurations/GoogleAnalytics4))**

Available query string parameters include:

* name
* measurementId

Results will be paged given the possibility of a large result set, so paging options can also be added to the request. For additional information please see our Paging Documentation. See above for example of response.

***

### Fields that are returned when retrieving a GA4 Integration Configuration

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        integration\_configuration\_id
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        configuration\_name
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        type
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        configuration -> measurement\_id
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        configuration -> api\_secret
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        config\_data -> session\_based\_dni\_upload\_criteria
      </td>

      <td>
        string
      </td>

      <td>
        * All  
        * Session-Matched  
        * Google Client ID
      </td>
    </tr>

    <tr>
      <td>
        events
      </td>

      <td>
        array
      </td>

      <td>
        Array of Events\
        Min = 1\
        Max = 10
      </td>
    </tr>

    <tr>
      <td>
        events -> name
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        events -> call\_criteria
      </td>

      <td>
        string
      </td>

      <td>
        * All Matched Calls  
        * Min Duration  
        * Call Tag
      </td>
    </tr>

    <tr>
      <td>
        events -> min\_duration\_value
      </td>

      <td>
        int
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        events -> call\_tag
      </td>

      <td>
        string
      </td>

      <td>
        call\_tag\_id
      </td>
    </tr>

    <tr>
      <td>
        event\_parameters
      </td>

      <td>
        array
      </td>

      <td>
        Array of Event\_Parameters\
        Min = 0\
        Max = 25
      </td>
    </tr>

    <tr>
      <td>
        event\_parameters -> name
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        event\_parameters -> static\_value
      </td>

      <td>
        boolean
      </td>

      <td>
        true, false
      </td>
    </tr>

    <tr>
      <td>
        event\_parameters -> value
      </td>

      <td>
        string
      </td>

      <td>
        static = true, user provided value\
        static = false, see below for valid options
      </td>
    </tr>

    <tr>
      <td>
        user\_parameters
      </td>

      <td>
        array
      </td>

      <td>
        Array of User\_Parameters\
        Min = 0\
        Max = 25
      </td>
    </tr>

    <tr>
      <td>
        user\_parameters -> name
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        user\_parameters -> static\_value
      </td>

      <td>
        boolean
      </td>

      <td>
        true, false
      </td>
    </tr>

    <tr>
      <td>
        user\_parameters -> value
      </td>

      <td>
        string
      </td>

      <td>
        static = true, user provided value\
        static = false, see below for valid options
      </td>
    </tr>

    <tr>
      <td>
        status
      </td>

      <td>
        string
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        domain\_access -> billing\_groups
      </td>

      <td>
        array
      </td>

      <td>
        Array of billing\_group\_id
      </td>
    </tr>

    <tr>
      <td>
        domain\_access -> group\_owners
      </td>

      <td>
        array
      </td>

      <td>
        Array of group\_owner\_id
      </td>
    </tr>
  </tbody>
</Table>