The conversion tracking action allows you to fire conversion tags for:
- Google Analytics
- Facebook (Standard)
- Facebook (Custom)
- LinkedIn (Insight Tag)
Tip: If you have a different type of conversion tag you need to fire, you can use the Run JavaScript action.
Adding a Conversion Tracking Action
To add a Conversion Tracking action:
- When editing your form, click the Actions icon at the top of the page. The Actions sidebar will open on the right-hand side of the page.
- Click the Add icon to add a new action.
- Select Conversion Tracking from the Action pulldown. A series of settings will appear.
As with all sidebars in WS Form, click the Save button at the bottom to save your changes, or click Cancel to disregard your changes.
The Conversion Tracking action settings are as follows:
When Should This Action Run?
You can choose to run the WordPress hook when the form is saved, submitted, or both.
Type
Select the type of hook you would like to run:
- Google Analytics
- Facebook (Standard)
- Facebook (Custom)
- LinkedIn (Insight Tag)
Google Analytics (gtag, ga or _gaq)
In order to fire a Google Analytics event, you need to install a Google Analytics on your website.
The Google Analytics settings for the Conversion Tracking action are as follows:
Setting | Description |
---|---|
Event Category | A category is a name that you supply as a way to group objects that you want to track. Typically you will use the same category name multiple times over related UI elements that you want to group under a given category.
For example: Form – #form_label |
Event Action (Optional) | Typically you will use the action parameter to name the type of event or interaction you want to track for a particular web object.
For example: Submitted |
Event Label (Optional) | With labels you can provide additional information for events that you want to track.
For example: Contact Us |
Event Value (Optional)(Numeric) | Value differs from the other components in that it is an integer rather than string, so use it to assign a numerical value to a tracked page object.
For example: the perceived value of a lead in dollars, such as 123. |
Data Layer Variables | You can add any number of variables to the data layer for the event. You can enter straight text or use a WS Form variable in the value. For more information about WS Form variables, click here. |
You can enter straight text or use a WS Form variable in these settings. For more information about WS Form variables, click here.
Facebook (Standard)
In order to fire a Facebook Tracking Pixel event, you need to install a Facebook Tracking Pixel on your website.
The Facebook (Standard) settings for the Conversion Tracking action are as follows:
Setting | Description |
---|---|
Event Name | Select the event name you want to fire. For more information on these events, click here. |
Object Properties (Optional) | You can add any number of object properties to the event. For more information on these object properties, click here. |
You can enter straight text or use a WS Form variable in these settings. For more information about WS Form variables, click here.
Facebook (Custom)
In order to fire a Facebook Tracking Pixel event, you need to install a Facebook Tracking Pixel on your website.
The custom Facebook option allows you to manually type in the event name and specify each object property yourself as key value pairs.
The Facebook (Custom) settings for the Conversion Tracking action are as follows:
Setting | Description |
---|---|
Event Name | Enter the event name you want to fire. For more information, click here. |
Object Properties (Optional) | You can add any number of object properties to the event. For more information, click here. |
You can enter straight text or use a WS Form variable in these settings. For more information about WS Form variables, click here.
LinkedIn (Insight Tag)
In order to fire a LinkedIn conversion event, you need to install a LinkedIn InSight Tag on your website.
The LinkedIn (InSight Tag) settings for the Conversion Tracking action are as follows:
Setting | Description |
---|---|
Conversion ID | Enter the conversion ID want to fire. |