- 4 Minutes to read
- Print
- DarkLight
Users
- 4 Minutes to read
- Print
- DarkLight
1 Overview
This page explains how to track and enrich user information in Mapp Intelligence. There are three primary use cases:
Improve user identification: Transmit a customer ID (e.g. hashed email address) to improve long-term and cross-device user recognition. This helps reduce fragmentation caused by cookie restrictions or device changes.
Enable user matching with Mapp Engage: IDs and attributes can be shared between Mapp Intelligence and Engage, enabling cross-system user understanding.
Send additional user-specific information: Attributes such as opt-in status or gender can be tracked and used for segmentation and analysis in Mapp Intelligence.
2 Configurable Properties
The following table shows all supported properties, their descriptions, request parameters, and data types.
Parameter | Description | Data available | Data type (Default value) | Request Parameter |
---|---|---|---|---|
id | A unique identifier of the user (e.g., a hashed email address). To comply with data protection requirements, data must be encrypted and ensured unreadable (e.g., using the MD5 or SHA256 hash).
| Mapp Intelligence | String |
|
emailRID | The email receiver ID of the user serves as a link between Mapp Intelligence and your email tool (e.g., Mapp Engage).
| String |
| |
emailOptin | The e-mail opt-in status of the user (True | False). Only relevant if you are not using Mapp Engage.
| Boolean (false) |
| |
registrationEmail | The Email address used to identify the user in Mapp Engage. | Mapp Engage | String |
|
registrationGroupId | Provide the group ID in case of a new registration for the user in Mapp Engage. | String |
| |
registrationMode | Provide the registration method used to register for marketing activities.
| String |
| |
registrationFirstName | First name of the user to be used in Mapp Engage. | String |
| |
registrationLastName | Last name of the user to be used in Mapp Engage. | String |
| |
registrationGender | Gender of the user.
| String |
| |
registrationTitle | The title of the user to be used in Mapp Engage. | String |
| |
registrationOptin | Provide information that the user consented to use their data.
| - | Boolean (false) | |
category | Custom user information, e.g. hashed identifiers or behavioral segments. Requires setup.
| Mapp Intelligence | Object |
|
2.1 User Categories
User categories allow you to track additional information for user segmentation and analysis. These must be configured in advance. You can track values like hashed newsletter IDs, login types, or marketing segments.
The ID and data type (text/number) are defined during setup.
These values are analyzed in Visitors > User Categories if the type is text, or as metrics if they are numbers.
Values are stored long-term and updated when new values are submitted.
Best practice: Use hashed or encrypted data if personal information is transmitted. Avoid using readable names for sensitive data.
For setup instructions: How to Set Up Categories
3 Implementation Examples
If you do not have automatic page tracking enabled, invoke the track method after adding all relevant tracking information.
import { Component } from '@angular/core';
import { WebtrekkSmartPixelAngular } from '@webtrekk-smart-pixel/angular';
@Component({
template: `<div>[ ... ]</div>`
})
export class ExampleComponent {
constructor(private pixel: WebtrekkSmartPixelAngular) {
this.pixel.customer("user5684798169", {
emailRID: "",
emailOptin: true,
category: {5: "login"}
}, false);
}
}
Please add
WebtrekkSmartPixelModule
to your root NgModule and configure the options before using directives.
If you do not have automatic page tracking enabled, invoke the track method after adding all relevant tracking information.
import { Component } from '@angular/core';
@Component({
template: `<div [wt-customer-data]="webtrekkData"></div>`
})
export class ExampleComponent {
webtrekkData = {
id: 'test@tester.com',
emailRID: 'emailRID',
emailOptin: true,
gender: 1,
birthday: '19870913',
country: 'germany',
city: 'berlin',
postalCode: '12345',
street: 'test-street',
validation: false,
category: {1: 'foo', 2: 'bar'}
}
}