---
title: INFOnline (IVW)
slug: experience/infonline-ivw
description: INFOnline is a provider of digital reach measurement in Germany. The service includes standardised usage measurement of websites in accordance with IVW specifications. Find in this article details on the integration with the Purple Experience.
docTags: 
createdAt: 2023-06-30T14:38:56.278Z
---

# Summary

*Available since PXP 3.8 (Web only)*

INFOnline Measurement tracking (Required for [IVW](https://www.ivw.de/)-Tracking)

## Official websites

| **Site**      | **URL**                                                                                               |
| ------------- | ----------------------------------------------------------------------------------------------------- |
| Website       | [](https://matomo.org/)<br />[https://www.ivw.de/digital/digital](https://www.ivw.de/digital/digital) |
| Documentation | [](https://matomo.org/help/)                                                                          |

## Developer integrations

| **Platform** | **URL**                                                                                                                                                                                  |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Android      | [](https://docs.infonline.de/infonline-measurement/integration/lib/android/android/)                                                                                                     |
| iOS          | [](https://github.com/matomo-org/matomo-sdk-ios)                                                                                                                                         |
| Web          | [https://docs.infonline.de/infonline-measurement/integration/web/checkliste\_web\_allgemein/](https://docs.infonline.de/infonline-measurement/integration/web/checkliste_web_allgemein/) |

# Tracking service

Tracking with INFOnline supports App and Web, but must be configured with **different properties per platform**. It is recommended to do the event configuration as follows:

- **App:** `/default/tracking_config.json`
- **Web:** `/web/default/tracking_config.json`

## Event support matrix

Overview of the supported events and their configuration.

|                                                            | **Templates**                                                                                | **Parameter**                              |
| ---------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------ |
| <font color="#2166ae">**Views
(Web)**</font>               | <font color="#3b9f0f">*code
comment*
</font><font color="#3b9f0f">*pixelType*</font>         | <font color="#ff6900">not supported</font> |
| <font color="#2166ae">**Views
(Android/iOS)**</font><br /> | ****<font color="#3b9f0f">*eventType*</font><font color="#3b9f0f">
*category
comment*</font> | <font color="#3b9f0f">supported</font>     |

## General structure in tracking\_config.json

:::hint{type="info"}
Tracking service key name in "*tracking\_config.json*" is:
"<font color="#2166ae">**infonline**</font>"
:::

:::CodeblockTabs
General structure

```json
{
  
  "infonline": {
    "eventsEnabledByDefault": false,
    "viewsEnabledByDefault": true,
    "purchasesEnabledByDefault": false,
    "attributesEnabledByDefault": false,
    
    "events": {},
    
    "views": {
      // your configured list of events
    },
    
    "purchases": {},
    
    "attributes": {} 
    
  }
  
}
```
:::

### Views (Web)

INFOnline supports view events for Web.

:::CodeblockTabs
View event

```json
"view_event_key": {
  "templates": {
    "code": "value of template",
    "comment": "value of template",
    "pixelType": "value of template"
  }
}
```

Example 1

```json
"STOREFRONT_HOME": {
  "templates": {
    "code": "home view",
    "comment": "desktop"
  }
}
```
:::

**Templates**

| **Templatey key**                      | **Required** | **Template value**                                                                                                                                                     |
| -------------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <font color="#3b9f0f">code</font>      | **no**       | A code set by the provider for content identification, associated with the IVW Category System 2.0 in the INFOnline Customer Center.                                   |
| <font color="#3b9f0f">comment</font>   | **no**       | An optional field used for adding comments or additional information about the event.                                                                                  |
| <font color="#3b9f0f">pixelType</font> | **no**       | The values need to be one of:<br />* "<font color="#2166ae">**cp**</font>" *(default)*
* "<font color="#2166ae">**sp**</font>"
* "<font color="#2166ae">**xp**</font>" |

### Views (Android/iOS)

INFOnline supports view events for Android and iOS.

:::CodeblockTabs
View event

```json
"view_event_key": {
  "templates": {
    "eventType": "value of template", // TBD
    "category": "value of template", // TBD
    "comment": "value of template" // TBD
  }
}
```

Example 1

```json
"STOREFRONT_HOME": {
  "templates": {
    "eventType": "value of template", // TBD
    "category": "value of template", // TBD
    "comment": "value of template" // TBD
  }
}
```
:::

**Templates**

| **Templatey key**                      | **Required**                         | **Template value**                                                                                                                      |
| -------------------------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| <font color="#3b9f0f">eventType</font> | <font color="#eb144c">**yes**</font> | Represents the state or type of event, such as: download started, cancelled, successfully completed, or ended with an error.            |
| <font color="#3b9f0f">category</font>  | <font color="#eb144c">**yes**</font> | A code set up by the provider for content identification, associated with the IVW Category System 2.0 in the INFOnline Customer Center. |
| <font color="#3b9f0f">comment</font>   | **no**                               | An optional field used for adding comments or additional information about the event.                                                   |

# How to configure

## Native Purple App

:::hint{type="info"}
Details for the configuration in apps will be added soon.
:::

## Web integration

### Enable SDK

INFOnline is not explicitly enabled. If a valid configuration of INFOnline is present in the "*experience.config.json*", the SDK is integrated into the HTML document.

**Structure in experience.config.json**

:::CodeblockTabs
Plugin configuration

```json
{
  "purple": {
    "analytics": {
    
      "infonline": {
        "configuration": {
          "site": "Your site identifier",
          "domainServiceName": "Provided by INFOnline",
          "country": "de or at",
          "distributionChannel": "web, hyb, app or ctv",
          "usePseudonymousMeasurement": true or false,
          "debug": true or false,
        }
      }
      
    }
  }
}
```
:::

### Consent management

If you use one of the CMPs supported by Purple, you must specify the CMP-specific  vendor ID for INFOnline, which you can get from your CMP frontend. Additionally, the IAB vendor ID for INFOnline can also be added.

**Structure in experience.config.json**

:::CodeblockTabs
Plugin configuration with consent

```json
{
  "purple": {
    "analytics": {
    
      "infonline": {
        "configuration": {
          "site": "Your site identifier",
          "domainServiceName": "Provided by INFOnline",
          "country": "de or at",
          "distributionChannel": "web, hyb, app or ctv",
          "usePseudonymousMeasurement": true or false,
          "debug": true or false,
        },
        "consent": {
          "vendorId": "Provided by your CMP",
          "iabVendorId": "730"
        }
      }
      
    }
  }
}
```
:::

****
