Thrive Themes Integration
Integrate Thrive Themes with AnyTrack to track Thrive Leads form submissions, quiz completions, and custom events, using Thrive Automator webhooks or a hidden click ID field passed to your email platform.
Thrive Themes powers high-converting opt-in forms (Thrive Leads), quizzes, and automations on WordPress. This guide shows two ways to connect it with AnyTrack: send form submissions and quiz completions directly to AnyTrack through a Thrive Automator webhook, or pass the AnyTrack click ID into your email platform through a hidden form field.
Track form submissions in AnyTrack with Thrive Automator
Section titled “Track form submissions in AnyTrack with Thrive Automator”Use this setup to record form submissions, quiz completions, and other custom events as conversions in AnyTrack.
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 collects key tracking data and sends it to AnyTrack.
Step 2: Configure a hidden field in Thrive Leads
Section titled “Step 2: Configure a hidden field in Thrive Leads”- Add a hidden field to your form.
- Name the field:
refId. - Autofill settings: Cookie Data
- Value:
_atcid
Step 3: Set up the webhook in Thrive Automator
Section titled “Step 3: Set up the webhook in Thrive 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 Thrive 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 | Thrive Leads Field | Description |
|---|---|---|
refId | refId | Required. |
eventName | Manual Input | Enter the event name manually (Thrive Leads doesn’t send event names). |
email | email | Recommended for improving event match quality. |
fullName | name | Optional but improves personalization and match quality. |
Send the click ID to your email platform
Section titled “Send the click ID to your email platform”Use this setup when you want each subscriber in your email platform (e.g., ConvertKit, ActiveCampaign) to carry the AnyTrack Click ID for downstream attribution and personalization.
Step 1: Add a hidden click ID field
Section titled “Step 1: Add a hidden click ID field”
- What: Add a new field to your form. Set its type to “hidden,” name it
atclid, and assign--CLICK-ID--as its default value. - Why: The
--CLICK-ID--token will be automatically replaced by AnyTrack’sTracking Tagwith an auto-generated Click ID value, essential for Server-Side Tracking. - Outcome: A form capable of collecting unique click IDs without user interaction.
Step 2: Trigger a webhook upon form submission
Section titled “Step 2: Trigger a webhook upon form submission”- What: Configure your form to trigger a Webhook to Zapier or any other integration tool connected to your website upon submission.
- Why: This allows the collected data, including the unique click ID, to be sent to your email platform or other marketing tools.
- Outcome: Real-time data transfer upon form submission.
Step 3: Verify the click ID in your email platform
Section titled “Step 3: Verify the click ID in your email platform”- What: If necessary, create a custom field in your email platform to receive the
atclidvalue, ensure proper mapping between the form and email platform, and verify that the field populates on new subscribers. - Why: Guarantees the tracking data flows correctly from your form to your email platform, associating each form submission with a unique click ID.
- Outcome: A reliable dataset for each subscriber, enriching your analytics and segmentation.
Troubleshooting
Section titled “Troubleshooting”refIdnot populating? Ensure the hidden field is correctly configured in Thrive Leads.- Webhook not triggering? Verify the URL in Thrive Automator and test the automation.
- Email data missing? Check the field mapping and ensure the email field is collected in your form.
Related articles
Section titled “Related articles”Frequently Asked Questions
FAQ was last reviewed on 2026-07-25
What if the atclid value is not appearing in my email platform?
Double-check the webhook configuration and ensure the field mapping is correctly set up in your email platform. If issues persist, consult your platform’s support documentation or reach out to their support team.
Can I use this integration with email platforms other than ConvertKit or ActiveCampaign?
Yes, the integration process is similar for most email platforms. However, the specific steps to create and map custom fields may vary. Refer to your platform’s documentation for detailed instructions.
How do I verify that the tracking is working correctly?
Perform a test submission of your form and check if the atclid value, along with the subscriber ID, appears in your email platform. Additionally, monitor the links in your email campaigns to ensure they include the atclid parameter for accurate tracking.
Why are custom fields missing when I set up the Thrive Automator webhook?
Custom fields are only available in Thrive Automator when the automation trigger targets a specific form. Select the exact form you want to track instead of a generic trigger.