Contact Logs
Contact logs
The Contact logs resource stores logging information about a Form builder form submission lead by a visitor to a Site.
Contact log Model
Contact log object
A contact log object contains the following fields
Attribute | Type | Description |
---|---|---|
id | integer | unique id of the log |
site_id | integer | Reference id to the Site the lead was associated with |
form_id | integer | Reference id to the Form builder form that the lead was associated with |
location_id | integer | Reference id to the Location the lead was associated with |
note | string | If the lead was identified as spam (spam=true), then reason is described here. |
timestamp | datetime | Date and time that the lead was generated |
spam | boolean | Was the lead identified as spam by filters. |
stage | string | Stage set on the lead. Examples: |
data | object | Contains the fields and values of the form lead |
string | Parsed email address from lead, if applicable | |
phone | string | Parsed phone number from lead, if applicable |
recipients | list | List of intended or delivered recipients (email addresses) for the lead |
campaign_params | object | Session analytics attributes. These include thing like UTM parameters and other tracked attributes. |
dispatched | boolean | Was the lead dispatched (emailed, CRM, webhooks) |
dispatch_date | datetime | Date and time that the lead was dispatched |
logs | list | List of logs related to filters and dispatchers that ran based on the Form configuration |
Example object
Note: there are a number of columns not listed above that are present in the API response. It is not guaranteed that all leads contain these fields, so integrations should not be developed that depend on them.
Campaign params (campaign_params
)
campaign_params
) If available, these are the analytics/attribution details tied to the Contact log. Below are descriptions of their meaning.
UTM prefixed parameters
utm_source
utm_campaign
utm_keyword
utm_medium
utm_term
And any other parameter prefixed by (
utm_
)
Marketing parameter Click IDs - (i.e. gclid)
dclid
(doubleclick)fbclid
(facebook)gbraid
(google)gclid
(google)gclsrc
(google)li_fat_id
(linkedin)msclkid
(microsoft/bing)ttclid
(tiktok)twclid
(twitter)wbraid
(google)yclid
(yahoo and yandex)
Other session data
$search_engine
- Which search engine did they come frominitial_landing_page
- This is the full URL of the initial page the visitor landed on in thier session$initial_referring_domain
- Referring domain$initial_referrer
- Referring URLdistinct_id
- Unique ID for the sessionsite-session-page-views
- Total page views within the session$device_id
- ID of the device used in the session
DevHub metadata (Site, Page, etc)
Domain fields
domain
subdomain
formatted_domain
page_name
- Page namepage_title
- Page title tagsite_id
- DevHub site_id where the session happenedtheme_id
- DevHub theme/template ID
All double underscore-prefixed variables can be ignored (__mpus
, __mpso
, __mpr
, __mpu
, __mps
). These are internal data used by one of our analytics sources Mixpanel.com
List contact logs
List all contact logs within the instance
List all contact form logs for a site
Parameters
Name | Type | Description |
|
| ID of the |
|
| Set the field to sort the results by. Available |
|
| Filter the list to only the contact logs greater than a certain contact log ID |
Response
Last updated