Convert a goal
Version:
This topic describes how to convert a goal that was triggered from the tracker into a custom goal before it is saved to xConnect.
Create a custom goal model
Create a goal conversion processor
-
Create a pipeline processor that inherits
ConvertPageEventDataToEventBase. -
Implement
CreateEventandCanProcessPageEventDataas shown. This handler assumes that theNewsletterIdis stored in theDataproperty.
Register goal conversion processor
Create a new configuration file named MyBrand.CustomEvents.config and patch in your handler as shown:
Important
Your processor must be patched in before the final goal handler as shown.
Trigger the goal
Trigger the goal with the custom data that the goal conversion pipeline processor expects: