{"title":"Order Campaign Object Reference","slug":"order-campaign-object-reference","url":"https://support.storeconnect.com/articles/order-campaign-object-reference","url_markdown":"https://support.storeconnect.com/articles/order-campaign-object-reference.md","subtitle":null,"summary":"An Order Campaign captures any UTM parameters present when someone visits your store and then creates a shopping cart. If the visitor came to your site multiple times through multiple campaigns, each visit is recorded as a separate Order Campaign record on the resulting order.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Order Campaign, s_c__Order_Campaign__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nAn Order Campaign captures any UTM parameters present when someone visits your store and then creates a shopping cart. If the visitor came to your site multiple times through multiple campaigns, each visit is recorded as a separate Order Campaign record on the resulting order.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Order_Campaign__c` |\n| **Label** | Order Campaign |\n| **Plural Label** | Order Campaigns |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Order | `s_c__Order_Id__c` | MasterDetail ([Order](order-object-reference)) | No | The Order which was created through this campaign. |\n| UTM Campaign | `s_c__UTM_Campaign__c` | Text(255) | No | The utm-campaign parameter specified in this referral. |\n| UTM Content | `s_c__UTM_Content__c` | Text(255) | No | The utm-content parameter specified in this referral. |\n| UTM Medium | `s_c__UTM_Medium__c` | Text(255) | No | The utm-medium parameter specified in this referral. |\n| UTM Source | `s_c__UTM_Source__c` | Text(255) | No | The utm-source parameter specified in this referral. |\n| UTM Term | `s_c__UTM_Term__c` | Text(255) | No | The utm-term parameter specified in this referral. |\n| UTM Token | `s_c__UTM_Token__c` | Text(255) | No | The utm-token parameter specified in this referral. |\n| Visited At | `s_c__Visited_At__c` | DateTime | Yes | The date and time of this visit. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Order_Id__c` | MasterDetail | [Order](order-object-reference) | Order_Campaigns |"}