How An Ontraport WordPress Integration Connects Your Site And CRM
Ontraport and WordPress run two different jobs. WordPress hosts the site; Ontraport handles the contacts, campaigns, and automation behind it. An Ontraport WordPress integration is what closes the gap between them, so form submissions, page visits, and payments all land in one system instead of scattering across plugins that do not talk to each other.
This guide walks through the four places that connection usually gets built: forms, tracking, Ontraport’s native WordPress plugins, and custom objects for teams that need a fully bespoke setup.
By the end, the difference between a Zapier-based form connection and a webhook-based one should be clear, along with when a plugin like PilotPress solves a problem that a generic membership plugin cannot.
Why Connect Ontraport To A WordPress Site At All
Manually re-entering leads, tracking visitors by hand, or checking two separate systems for the same customer record all cost time and invite mistakes. Connecting the two platforms automates that work instead of leaving it to whoever remembers.
A properly connected Ontraport and WordPress site typically unlocks:
- Visitor tracking: See who visits which pages, what they click, and which source referred them, all inside the same contact record.
- Payment collection: Accept payments for products or subscriptions directly through Ontraport, without a separate payment plugin.
- In-platform page editing: Build and publish pages with Ontraport’s drag-and-drop editor instead of a second page builder.
- Memberships and client portals: Manage CRM data, payments, and product delivery from one place, with no extra developer work.
- Self-service customer support: Give customers a login to check payment details, product status, and order history.
- Affiliate management: Give referral partners a Partner Center where they can track their own sales and commissions.
- Centralized form data: Collect every form submission into one database instead of spreading it across plugin-specific storage.
Connecting Forms Between Ontraport And WordPress
Forms are usually the first integration a site needs, since they are how contacts actually enter Ontraport. There are two starting points: Ontraport’s own native forms (Ontraforms) or a third-party form plugin connected through Zapier or a webhook.
Building And Embedding A Native Ontraform
Ontraport’s own form builder, Ontraforms, publishes an embed code that drops directly into a WordPress page. The process is the same regardless of which page builder is in use:
- Open Ontraport and go to Contacts, then Forms.
- Select New Form, then choose the Ontraform type.
- Start from a template or build the form from scratch, then make any needed edits.
- Publish the form and select Embedded In Page to generate the embed code.
From there, the embed code goes onto the WordPress page one of two ways. In Elementor, add the HTML Code widget and paste the code in. In the native WordPress block editor, add a Custom HTML block and paste it there instead.
Making Top-Of-Funnel Forms Native Wherever Possible
A top-of-funnel (TOFU) form captures a visitor at the awareness stage, before they are ready to buy. Guides, e-books, newsletters, challenges, and free trials are all typical TOFU offers, and their forms usually only need a name, an email address, and a phone number.
Using a native Ontraform for these offers matters more than it looks. A solid Ontraport cookie placement at the first conversion point supports accurate analytics and closed-loop attribution later in the funnel. Generally, any site running an advanced analytics tool alongside its CRM, whether that is Ontraport, HubSpot, or Pardot, gets more reliable data by keeping top-of-funnel forms native.
Pro tip: too many fields on a single form lowers the conversion rate. A two-step form captures the same amount of prospect data in two lighter steps instead of one long one.
Connecting Gravity Forms And Other Non-Native Forms
Not every form on a site needs to be a native Ontraform. Gravity Forms is a common alternative, valued for its easy interface, customizable design, and built-in spam protection, and it centralizes form data in one place for teams already standardized on it.
Connecting a Gravity Forms submission to Ontraport takes a few steps:
- Install the Gravity Forms plugin and prepare the fields the form needs.
- In the WordPress or Elementor editor, search for the Gravity Form widget.
- Add the Gravity Form block and select the specific form to embed.
From there, the submission needs a path into Ontraport, which is where Zapier or a webhook comes in.
Zapier Versus Webhooks For Non-Native Forms
Zapier is the faster of the two to set up. Connecting a Zapier account to Ontraport, searching for the Ontraport and Gravity Forms apps, and following Zapier’s own setup prompts is usually enough to get data flowing, and Zapier’s guided steps and built-in testing make the process approachable for a non-developer.
The trade-off is cost: Zapier runs on a monthly subscription, which makes it a better fit for sites that expect to keep changing or adding forms over time. Webhooks accomplish the same result without a subscription fee, at the cost of needing some technical setup. The general process is:
- Configure the form plugin’s webhook settings to POST submission data, formatted as JSON, to a receiving endpoint.
- Set up that endpoint to use the Ontraport PHP SDK [1].
- Generate a new API key from Ontraport’s Administration and Integrations page.
- Pass each submitted field to Ontraport through the SDK’s saveOrUpdate() method.
A one-time developer setup is often worth the cost for a webhook connection that will not need frequent changes.
Tracking Ontraport Activity On A WordPress Site
Once forms are connected, tracking closes the loop between a site visit and the resulting Ontraport contact record. There are three ways to get tracking code onto a WordPress site, and they are not equally reliable.
Installing Tracking Through Google Tag Manager
Google Tag Manager (GTM) is generally the first choice for teams already using other Google tools. After creating the tracking trigger inside the GTM account:
- Find the GTM container ID (formatted like GTM-ABC123) from the account overview.
- Open the install instructions from that ID and copy the two code snippets provided.
- Add the head snippet and the footer snippet to the site, using the Insert Headers and Footers plugin on a WordPress site.
Installing Tracking Through Functions.php
Teams that prefer working directly in code, or that need more granular control, can install tracking through the theme’s functions.php file instead. This route requires a developer, since it involves several coordinated steps:
- Turn on Tracking and Deep Funnel Conversion Tracking under Ontraport’s Administration and Advanced Features, which adds four new lead information fields: GA Client ID, GCLID, Facebook fbc, and Facebook fbp.
- Install a UTM tracker plugin on WordPress to save UTM parameters to cookies.
- Update the webhook listener code to pass those UTM values into the Ontraport contact creation process.
- Add a code block that updates the first-touch and last-touch campaign and lead-source fields, since Ontraport does not save those automatically during contact creation.
- Test the setup in an incognito browser window to confirm a GA Client ID is captured, then submit the connected form twice to confirm both first- and last-touch UTMs save correctly.
Why A Generic Code-Installer Plugin Is Not The Best Option
A generic plugin that “inserts code” into a site’s head and footer can technically install tracking, but it comes with real downsides. These plugins sometimes fail to install the code correctly, offer no easy way to confirm the install worked, and can create issues that end up needing developer help anyway. Google Tag Manager or a direct functions.php install are more dependable starting points.
Extending WordPress With Ontraport’s Native Plugins
Beyond forms and tracking, Ontraport ships plugins that let WordPress pull double duty as a membership site, client portal, or affiliate hub, without stacking on unrelated third-party tools.
PilotPress For Memberships And Client Portals
PilotPress is a free WordPress plugin that connects membership access directly to Ontraport contact records. It fits especially well for a business that already runs email marketing through Ontraport and wants new content or product notifications to reach subscribers automatically, without a second notification system to maintain.
Setting up a member involves a short sequence inside Ontraport itself, once membership levels exist and the WordPress site is connected:
- Open the contact’s record and select the Memberships tab.
- Select New WordPress Membership and add the required details.
- Add the contact to the correct membership level and save.
The same login then works on any PilotPress-protected page that shares that membership’s access level. A client portal built this way gives customers self-service access to their own payment history, product status, and account details, which reduces support requests and gives the business real-time control over what each client can see.
PilotPress is one route to that outcome; businesses weighing dedicated portal plugins can compare options in this guide to the best WordPress client portal plugins. Publishing an Ontraport-built page to WordPress, then adding it under ONTRApages with the correct PilotPress access level, is what turns a PilotPress page into a working portal.
Building Affiliate Portals On The Same Plugin
PilotPress also supports affiliate portals, kept separate from client portals, for businesses running referral programs. Beyond the initial Ontraport setup, an affiliate program needs its own products, emails, and landing pages ready before the portal goes live. From there, Ontraport can automate the affiliate lifecycle: welcoming new affiliates, congratulating them on a completed sale, and re-engaging ones who have gone quiet.
ONTRApages For Landing Pages Without A Subdomain
ONTRApages let a business host Ontraport-built landing pages directly on its WordPress domain, without the subdomain setup that landing pages traditionally required. A subdomain traditionally offered three benefits: a safe testing ground, room for a different design, and the ability to target a different audience segment. ONTRApages deliver all three without a second domain to manage, which also keeps every landing page under the same domain authority as the rest of the site.
Getting a page live involves connecting the plugin once, then a repeatable publishing flow:
- Connect the WordPress site to Ontraport under the ONTRApages settings menu.
- Build and publish the landing page inside Ontraport, selecting Publish To WordPress, then Save And Publish.
- In WordPress, add a new ONTRApage, fill in its title, slug, and metadata, then select the matching Ontraport landing page.
Seasonal campaigns are a common use case: a single URL slug can point to a spring, summer, fall, or winter version of the same landing page, swapped out as needed without touching the slug itself.
Going Further With Custom Objects And Custom Post Types
Forms, tracking, and native plugins cover most integration needs, but some businesses need a more bespoke structure. Ontraport’s Custom Objects extend the standard contact record to store additional data, with one-to-one, one-to-many, and many-to-many relationships between objects. A WordPress Custom Post Type (CPT) works on the same principle from the site side, grouping a specific kind of page or content beyond the default Page and Post types.
Pairing an Ontraport Custom Object with a matching WordPress CPT lets a business manage highly specific data structures, such as a product catalog, a client project list, or a resource library, from Ontraport while surfacing it natively on the WordPress site.
Bringing Ontraport And WordPress Into One System
The real value of an Ontraport WordPress integration shows up once forms, tracking, plugins, and any custom structure are all working together. At that stage, a lead’s first visit, their form submission, their membership status, and their eventual purchase all live in one connected record instead of four disconnected ones.
Not every business needs every piece covered here on day one. Most start with native forms and basic tracking, then add PilotPress or ONTRApages once the site’s needs grow past what a simple form connection can handle.
Working through an integration like this without a guide can turn into a lot of trial and error. A Paradox Marketing Trusted Advisor can walk through which of these methods fits a specific WordPress setup and help configure it correctly the first time.