CRM Setup
Set up SourceTag with Marketo
When a visitor submits a form with SourceTag data, the attribution fields need somewhere to go in Marketo. You need to create custom lead fields that match the SourceTag field names.
What you need
- SourceTag installed and form hidden fields set up
- Marketo account with admin access
Step 1: Go to custom fields settings
In Marketo, navigate to Admin > Field Management to create new custom fields on the Lead object.
Step 2: Create custom fields
Create a new custom field for each SourceTag data point:
Core fields (create these)
| Field name | Label | Type |
|---|---|---|
st_fc_channel | First Click Channel | String |
st_fc_detail_1 | First Click Smart Field 1 | String |
st_fc_detail_2 | First Click Smart Field 2 | String |
st_fc_detail_3 | First Click Smart Field 3 | String |
st_fc_detail_4 | First Click Smart Field 4 | String |
st_lc_channel | Last Click Channel | String |
st_lc_detail_1 | Last Click Smart Field 1 | String |
st_lc_detail_2 | Last Click Smart Field 2 | String |
st_lc_detail_3 | Last Click Smart Field 3 | String |
st_lc_detail_4 | Last Click Smart Field 4 | String |
st_fc_landing_page | First Click Landing Page | String |
st_lc_landing_page | Last Click Landing Page | String |
Optional extended fields
| Field name | Label | Type |
|---|---|---|
st_fc_click_id | First Click Click ID | String |
st_lc_click_id | Last Click Click ID | String |
st_visits | Visit Count | Integer |
st_days_to_convert | Days to Convert | Integer |
st_device | Device Type | String |
See Captured Fields for the full list of available fields.
Step 3: Map form fields to Marketo fields
If your form builder sends data to Marketo via an integration (Zapier, webhook, etc.), make sure the SourceTag form fields are mapped to the corresponding Marketo custom lead fields. If you are using Marketo forms directly, add the SourceTag fields as hidden fields on the Marketo form and map them to the custom fields you created.
Step 4: Test
Submit a form with UTM parameters and check the lead record in Marketo. The custom fields should be populated with attribution data.
Tips
- Marketo field API names are auto-generated and may differ from the display name. Use the API name when mapping fields in integrations.
- If you sync Marketo with a CRM (Salesforce, Dynamics), consider creating matching fields in the CRM and setting up field sync so attribution data flows through.
- Test with a fresh lead (not one that already exists) for the cleanest test.
Doesn't answer your question or need more help? Get in touch.
