<aside> ❗ Read the below guide on goals before proceeding:
</aside>
Before this step, you organized all information needed for your KPI goals like below:
KPI Name | CRM Object | CRM Date Field | CRM Filters | Count for Last Month |
---|---|---|---|---|
Lead | Lead | CreateDate | 10234 | |
MQL | Lead AND Contact | MQL_Date__c | LeadSource is any of “Marketing”,”Paid”,”Events” | 2378 (deduplicated between Lead and Contacts) |
SQL | CampaignMember | CreateDate | Campaign Name contains “Handraisers”, Responded = True | 810 |
Closed Won | Opportunity | CloseDate | Lead_Source_Detail__c = “Inbound” AND Type = “New Business” | - 178 opportunities |
Now, we will translate each KPI into a Goal in HockeyStack. We will use the above table as an example.
If your KPI definition contains date field that is:
you can build it as a goal without any additional configuration. If your KPI definition contains a custom date field, follow the below guide to be able to convert the date field into an action:
Navigate to Definitions > Goals from the sidebar to get started after you complete the previous step.
Click on the + icon on the top right to create a new goal.
Let’s take Lead from our KPIs above as the example. This KPI uses the CreateDate of the lead object. Therefore it can be tracked using the Lead Created action.
https://app.arcade.software/share/XuSJQDCVBBVHwjjHteSz
The MQL definition above is a bit more complex, with a custom date field and some filters attached.
Refer back to the Track Date Properties guide. The custom date field will be converted to an action named “Lead Property Changed”.
Refer to the Salesforce fields list below to see that LeadSource on the Lead object is being mapped to a property called “contact_source”.