How to Send LearnDash Enrollments to Ontraport

Written by Nasir Ahmed
PublishedAugust 2, 2026
Reading time3 min read

Ontraport is a marketing automation platform. If you want LearnDash data in Ontraport, you could pay for a cloud automation service. Or you could do it directly from WordPress. This is the direct route.

Why connect directly?

Cloud automation tools like Zapier charge per task and route your data through external servers. AFI processes everything on your WordPress site. No per-enrollment fees, no external dependencies.

What you will need

  • A WordPress site with LearnDash installed and at least one course.
  • A Ontraport account.
  • The Advanced Form Integration plugin (free from WordPress.org).

Connect Ontraport to AFI

  1. Log in to your Ontraport account.
  2. Go to Settings → API and copy your App ID and API Key.
  3. In WordPress, go to AFI → Settings → Ontraport.
  4. Enter the credentials and click Save.

Setting up the integration

1. Create a new integration

Go to AFI → Add New. Name it LearnDash to Ontraport.

2. Pick your trigger

Select LearnDash as the form provider. AFI fires when a student enrolls in a course or completes a lesson, giving you access to student details, course information, and enrollment data.

3. Select Ontraport as the destination

Choose Ontraport from the platform dropdown and pick Add Contact. This creates or updates a contact in Ontraport.

4. Map fields

Match each Ontraport field on the left to the corresponding LearnDash field on the right. Common mappings include student name, email, course title, and enrollment date. You can also use smart tags like {{_submission_date}}.

5. Add conditions if needed

Only want to send certain enrollments? Set up a conditional rule based on any field value.

6. Save and test

Click Save Integration. Complete a test enrollment in LearnDash. Check Ontraport to confirm the data arrived. If anything looks wrong, open AFI → Log to see the exact request and response.

Free vs Pro

The free version maps email, first name, and last name to Ontraport with unlimited enrollments. Pro adds custom field mapping. No per-enrollment fees on any plan.

Frequently asked questions

Which LearnDash events trigger the integration?

AFI fires when a student enrolls in a course or completes a lesson. This covers new enrollments, course completions, and student registrations.

Will adding this slow down my site?

No. AFI sends data to the destination after the enrollment event completes. Your students are not affected.

Can I send enrollments to multiple platforms?

Yes. Create a separate integration for each destination, and every enrollment flows to all of them simultaneously.

Get started

Install Advanced Form Integration free from WordPress.org and connect LearnDash to Ontraport in minutes.

Leave a Reply

Your email address will not be published. Required fields are marked *