CRM Setup

Set up SourceTag with Microsoft Dynamics 365

When a visitor submits a form with SourceTag data, the attribution fields need somewhere to go in Dynamics 365. You need to create custom contact fields that match the SourceTag field names.

What you need

  • SourceTag installed and form hidden fields set up
  • Microsoft Dynamics 365 account with admin access

Step 1: Go to custom fields settings

In Dynamics 365, navigate to the custom fields or contact properties settings.

[IMAGE: Screenshot of Dynamics 365 settings navigation]

Step 2: Create custom fields

Create a new custom text field for each SourceTag data point:

Core fields (always create)

Field nameLabelType
st_fc_channelFirst Contact ChannelSingle-line text
st_fc_detail_1First Contact SourceSingle-line text
st_fc_detail_2First Contact CampaignSingle-line text
st_fc_detail_3First Contact TermSingle-line text
st_fc_detail_4First Contact ContentSingle-line text
st_lc_channelLast Contact ChannelSingle-line text
st_lc_detail_1Last Contact SourceSingle-line text
st_lc_detail_2Last Contact CampaignSingle-line text
st_lc_detail_3Last Contact TermSingle-line text
st_lc_detail_4Last Contact ContentSingle-line text
st_fc_landing_pageFirst Contact Landing PageSingle-line text
st_lc_landing_pageLast Contact Landing PageSingle-line text

Optional fields

Field nameLabelType
st_fc_click_idFirst Contact Click IDSingle-line text
st_lc_click_idLast Contact Click IDSingle-line text
st_visitsVisit CountNumber
st_days_to_convertDays to ConvertNumber
st_deviceDevice TypeSingle-line text

[IMAGE: Screenshot of Dynamics 365 custom field creation]

Step 3: Map form fields to CRM fields

If your form builder sends data to Dynamics 365 via an integration (Zapier, native feed, webhook, etc.), make sure the SourceTag form fields are mapped to the corresponding Dynamics 365 custom fields.

[IMAGE: Screenshot of field mapping in Dynamics 365 or integration tool]

Step 4: Test

Submit a form with UTM parameters and check the contact record in Dynamics 365. The custom fields should be populated with attribution data.

[IMAGE: Screenshot of Dynamics 365 contact record showing attribution data]

Tips

  • Create a “SourceTag Attribution” field group to keep things organised.
  • Dynamics 365 adds a publisher prefix to custom field names (e.g. new_st_fc_channel). Make sure your field mapping accounts for this prefix.
  • Test with a fresh contact (not one that already exists) for the cleanest test.