---
schema_version: "1"
id: 5c2e7744ca58d53c4dd11d7b93bbda42e237857b5a7f87bf9adfecfd69c20d13
title: MarketingForm
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_marketingform.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_marketingform.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b16c5743205aa8080e78cf56e28218ea83e62f2d608258082a7abc0f5ef3486f
description: Represents an Account Engagement marketing form that has been synched to Salesforce. Use forms on your website and landing pages to collect information about visitors and turn anonymous visitors into identified prospects. This object is available in API version 42.0 and later.
---
# MarketingForm

Represents an Account Engagement marketing form that has been synched to Salesforce. Use forms on your website and landing pages to collect information about visitors and turn anonymous visitors into identified prospects. This object is available in API version 42.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search()

## Special Access Rules

To access this object, your org must use Account Engagement and users need the CRM User or Sales User permission set.

## Fields

| Field Name | Details |
| --- | --- |
| CampaignId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the related campaign.





 |
| ErrorRate | 

Type

percent

Properties

Filter, Nillable, Sort

Description

The percentage of views that led to an error.





 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp that indicates when the current user last viewed a record that is related to this form.





 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the current user last viewed this record. If this value is null, this record might only have been referenced (see LastReferencedDate) and not viewed.





 |
| Name | 

Type

string

Properties

Filter, Group, Sort

Description

The name of the marketing form.





 |
| SubmissionRate | 

Type

percent

Properties

Filter, Nillable, Sort

Description

The percentage of the views that led to a form submission.





 |
| TotalErrors | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The total number of times a form error prevented a submission.





 |
| TotalSubmissions | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The total number of times the form was successfully submitted.





 |
| TotalTrackedLinkClicks | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The total number of link clicks from your thank you page.





 |
| TotalViews | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The total number of times your form has been viewed. Includes multiple views from the same visitor.





 |
| Type | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

Specifies the type of marketing form record, either a form or form handler.





 |
| UniqueErrors | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The number of errors generated by separate visitors.





 |
| UniqueSubmissions | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The total number of unique submissions. Removes multiple submissions from the same prospect.





 |
| UniqueTrackedLinkClicks | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The total number of unique link clicks from your thank you page. Removes multiple clicks from the same prospect.





 |
| UniqueViews | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The number of form views by separate visitors.





 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[MarketingFormEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 44.0)

Change events are available for the object.

[MarketingFormFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.