Thrive Themes Integration
This guide provides steps to integrate Thrive Themes platform with AnyTrack for tracking form submissions, quiz completions, and custom events, including setting up tracking snippets, configuring custom fields, and using webhooks in Thrive Automator.
This guide provides steps to integrate ThriveLeads with AnyTrack for tracking form submissions, quiz completions, and custom events, including setting up tracking snippets, configuring custom fields, and using webhooks in ThriveLeads Automator.
Objectives:
Section titled “Objectives:”- Track form submissions and leads.
- Track quiz completions.
- Track other custom events.
Step 1: Add the Tracking Snippet
Section titled “Step 1: Add the Tracking Snippet”Insert the following snippet into your forms using the HTML element:
<script>AnyTrack('trigger', 'ViewContent', { label: 'optinForm', refId: document.cookie.match('_atcid=([^;]*)')[1] || ''});</script>This snippet captures key tracking data and sends it to AnyTrack.
Step 2: Configure Custom Fields in ThriveLeads
Section titled “Step 2: Configure Custom Fields in ThriveLeads”- Add a hidden field to your form.
- Name the field:
refId. - Autofill settings: Cookie Data
- Value:
_atcid
Step 3: Set Up Webhooks in ThriveLeads Automator
Section titled “Step 3: Set Up Webhooks in ThriveLeads Automator”-
Create a Custom Integration in AnyTrack:
- Fill dummy values in postback parameters.
- Copy and clean the Postback URL (remove query parameters after
?).
-
Create an Automation in Automator:
- Trigger: Select the form you want to track (remember: custom fields are available only when you select a specific form)
- Action: Webhook.
- Paste the cleaned Postback URL.
-
Map Fields:
- Map
refIdto the hidden fieldrefId. - Add AnyTrack attributes like
eventName,email, andfullNameto improve tracking accuracy.
- Map
Webhook Parameters
Section titled “Webhook Parameters”| AnyTrack Attribute | ThriveLeads Field | Description |
|---|---|---|
refId | refId | Required. |
eventName | Manual Input | Enter the event name manually (ThriveLeads doesn’t send event names). |
email | email | Recommended for improving event match quality. |
fullName | name | Optional but improves personalization and match quality. |
Troubleshooting Tips
Section titled “Troubleshooting Tips”refIdNot Populating? Ensure the hidden field is correctly configured in ThriveLeads.- Webhook Not Triggering? Verify the URL in Automator and test the automation.
- Email Data Missing? Check the field mapping and ensure the email field is captured in your form.