- 1 Minute to read
- Print
- DarkLight
Goals
- 1 Minute to read
- Print
- DarkLight
When using website goals, all central goals are quickly available for analyzing and filtering.
Furthermore, the calculation of the customer journey is based on website goals. Thus, you can analyze for each website goal, which campaigns participated in the goal achievement.
Goals can be sent as page or event requests.
Learn more about how to define goals in Mapp Q3 here.
Further information about the analysis and use of website goals in Mapp Intelligence can be found in the training chapter Analysis of Goal Achievement.
Parameter Constants
E-commerce parameters need to be specified when creating the MIEcommerceParameters() object.
Parameter | Description | Where to Configure (Mapp Q3 > Configuration > ...) | Where to Analyze |
---|---|---|---|
customParameters | Ensure that the e-commerce parameter is configured as a "goal" in Mapp Q3! | Goal > New Goal (Please ensure you created the respective e-commerce parameter before) | Marketing > Website Goals |
Methods for Goals
Goals can be sent via both, a page request or an event request.
Example iOS
Define all event information you want to track:
let ecommerceParameters: MIEcommerceParameters = MIEcommerceParameters(customParameters: [1 : "goal value 1"]) let pageEvent = MIPageViewEvent(name: "page name") pageEvent.ecommerceParameters = ecommerceParameters
Call the trackPage method
MappIntelligence.shared()?.trackPage(pageEvent)
Full Code Example
func trackGoal() {
let ecommerceParameters: MIEcommerceParameters =
MIEcommerceParameters(customParameters: [1 : "goal value 1"])
let pageEvent = MIPageViewEvent(name: "page name")
pageEvent.ecommerceParameters = ecommerceParameters
MappIntelligence.shared()?.trackPage(pageEvent)
}
Define all event information you want to track:
MIEcommerceParameters* ecommerceParameters = [[MIEcommerceParameters alloc] initWithCustomParameters:[@{@1: @"goal value 1"} copy]]; MIPageViewEvent* pageEvent = [[MIPageViewEvent alloc] initWithName:@"page name"]; [pageEvent setEcommerceParameters:ecommerceParameters];
Call the trackPage method
[[MappIntelligence shared] trackPage:pageEvent];
Full Code Example
-(void) testAppGoal {
MIEcommerceParameters* ecommerceParameters = [[MIEcommerceParameters alloc] initWithCustomParameters:[@{@1: @"goal value 1"} copy]];
MIPageViewEvent* pageEvent = [[MIPageViewEvent alloc] initWithName:@"page name"];
[pageEvent setEcommerceParameters:ecommerceParameters];
[[MappIntelligence shared] trackPage:pageEvent];
}