---
title: Implement Third-Party Analytics
slug: engine-api/3rd-party-analytics
description: How to use the includeReporting=true flag to obtain metadata from the Monetate Engine API to pass on to third-party analytics platforms
image:  https://archbee-image-uploads.s3.amazonaws.com/ceIfEvQHzQk1IVxoRWUh7/K9eTL4jKm7UQINb6zNziJ-20250912-181225.png
docTags: 
createdAt: 2024-05-10T19:30:13.128Z
---

For Monetate tag–based [experiences](https://docs.monetate.com/docs/testing-personalization), third-party analytics integrations can be set up that execute client-side and send reporting labels directly to a vendor (for example, Google Analytics). Only experiences for which third-party reporting is enabled have their labels submitted.

For Engine API experiences, no formal third-party integrations are available. Instead, the Engine API response can include reporting metadata. These labels are made available when the `includeReporting=true` flag is added to the [monetate\:decision\:DecisionRequest](docId\:DspILr3g1cifaeEYlsqsB) event.

:::hint{type="info"}
The requesting application is responsible for passing the metadata along to the preferred third-party analytics provider.
:::

:::CodeblockTabs
Example Decision Request with includeReporting Flag

```json
{
  "channel": "a-12345678/d/example.test",
  "monetateId": "5.977810341.1521134874631",
  "events": 
  [    
    {
      "eventType": "monetate:decision:DecisionRequest",
      "requestId": "11111",
      " includeReporting": true
    },    
    {
      "eventType": "monetate:context:IpAddress",
      "ipAddress": "127.0.0.1"
    },    
    {
      "eventType": "monetate:context:PageView",
      "url": "https://www.example.test/path"
    }
  ]
}
```

Response

```json
{
  "meta": 
  {
    "code": 200
  },
  "data": 
  {
    "responses": 
    [      
      {
        "requestId": "11111",
        "actions": 
        [          
          {
            "actionType": "monetate:action:OmnichannelJson",
            "impressionReporting": 
            [              
              {
                "experience_label": "omni-TPA-test-1",
                "variant_label": "B",
                "is_control": false
              }
            ]
          }
        ]
      }
    ]
  }
}
```
:::

The flag tells the Engine API to return information about the experiences being served.

