- 2 Minutes to read
- Print
- DarkLight
event
- 2 Minutes to read
- Print
- DarkLight
In Mapp Intelligence, any interaction on a website can be captured as an event, from basic actions like link clicks to more complex behaviors such as scroll depth or content engagement tracking.
Overview
Value | Description | Data type | Default value | Required | Where to analyze | Request Parameter |
---|---|---|---|---|---|---|
name | Unique identifier of your event. Find more details below. |
| - | Yes | Navigation > Events | ct |
parameter | Use event parameters to add additional information to an event. Find more details below. |
| - | - | Navigation > Events > Event Parameters or metric | ck[ID] |
goal | Use goals to track the success of your website and campaigns. Find more details below. |
| - | - | Marketing > Website Goals | cb[ID] |
Further information
name
The name of the linking page does not have to be submitted in the event's name. This is because it is automatically assigned to the page that was tracked last.
Simply add the dimension "pages" to the analysis or use a filter.
parameter
Before use, parameters must be set up under Mapp Q3 > Configuration > Custom Parameters > Event Parameter. The ID and data type (text/number) are defined for each parameter during setup. Find more info here.
Example (parameter with ID "1"): {1:"position-1"}
goal
Website goals help to track the success of your website. You can quickly analyze and filter individual goals in Mapp Intelligence.
Furthermore, the calculation of the customer journey is based on website goals. This means you can track which campaigns are responsible for a goal's achievement. Find more info here.
The website goal "Order" is predefined in Mapp. A goal parameter has to be set on the corresponding pages if you have other website goals.
Typical examples are:
newsletter registration
signup
Configuration
A parameter must be set up under Configuration > Custom Parameters > E-Commerce Parameter.
The ID and data type (text/number) are defined during setup.
Website goals have to be configured at Configuration > Goal.
When configuring tracking in the pixel, you need to include the ID as a number and the respective value as a string.
Example (parameter with ID "1"): {1:"newsletter-registration"}
The goal is set as achieved as soon as a parameter is tracked (no matter what value is submitted!).
Implementation Examples
WebtrekkSmartPixelAngular
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.action({
name: "en.click.on.some.link",
parameter: {1: "en"},
goal: {2: "goal value 2"}
});
}
}