LifterLMS GDPR and Privacy: Export, Erasure, Consent and Retention

What personal data a LifterLMS site stores, how its export and erasure tools work with WordPress, which settings control consent notices and what an erasure removes, and the gaps you have to close yourself.

  • Add as a preferred source on Google
Illustration for “LifterLMS GDPR and Privacy: Export, Erasure, Consent and Retention”

If you sell or deliver courses to people in the EU or UK, your LifterLMS site processes personal data and GDPR applies. The good news is that LifterLMS plugs into the privacy tools built into WordPress: it adds its data to personal data exports, removes or anonymises it on erasure requests, and gives you consent notices for registration and checkout.

This guide is for site owners and the developers who support them. It maps what LifterLMS stores, shows exactly what the export and erasure tools do with it, explains the two settings that decide whether orders and learning records survive an erasure, and points out what the plugin leaves to you, with a code sample for the most common gap.

It is a technical guide, not legal advice. Decide your lawful bases, retention periods and policy wording with whoever advises you on data protection.

LifterLMS and GDPR: what personal data your site stores

Start with an inventory. These are the places LifterLMS core keeps data about a person, as of version 10.3.2:

DataWhere it lives
Account and profile: name, email, billing address, phone, IP address, last loginThe WordPress user and its user meta
Orders: products bought, billing details, the buyer's IP address, payment notesOrder posts and their meta
Enrollments, completions, favourites and other learning progressThe lifterlms_user_postmeta table
Quiz attempts and answersThe lifterlms_quiz_attempts table
On-site and email notificationsThe lifterlms_notifications table
Earned achievements and certificatesAward posts linked to the user
Activity events, such as page views and session trackingThe lifterlms_events table
Lesson time trackingThe lifterlms_lesson_time_sessions table
Temporary checkout data and noticesThe lifterlms_sessions table, tied to a session cookie

Add-ons and integrations add more: assignment submissions, forum posts, data sent to your payment gateway, your email marketing platform or your CRM. Those systems are outside LifterLMS's privacy tools and need their own process.

The relevant settings are under LifterLMS > Settings > Accounts.

  • Privacy Policy Page selects the same page as WordPress's own privacy setting.
  • Privacy Policy Notice is text shown during registration and checkout. The default says the person's data will be used to process their enrollment and for the purposes in your policy, and the {{policy}} placeholder becomes a link to the privacy page.
  • Under Terms and Conditions, the Enable / Disable checkbox makes users agree to your terms to register, with a Terms and Conditions Page and a customisable Terms and Conditions Notice.

LifterLMS also adds suggested wording to the WordPress privacy policy guide under Settings > Privacy. It covers what is collected during registration and checkout, who on your team can see it, and what instructors can see about their students. Use it as a starting draft and fill in the parts it leaves open, such as how long you keep order records and which third parties receive data.

A notice is not the same as consent for marketing. Core does not add a newsletter opt-in. If you want one, add an unticked checkbox to the registration or checkout form with the form editor, as described in our guide to custom fields on LifterLMS forms, and make sure your email integration respects it.

Cookies set by LifterLMS

LifterLMS uses a small number of cookies, documented in its cookies FAQ:

  • wp_llms_session_* keeps coupons and notices during checkout and browsing.
  • llms-tracking buffers tracking events, mainly for the Advanced Videos add-on.
  • Stripe sets its own cookies when the Stripe add-on loads its payment fields at checkout.

The first two support functions the user asked for, which many organisations treat as strictly necessary. List them in your cookie notice either way, alongside WordPress's own login cookies and anything your theme, analytics or video host adds.

Handling a personal data export request

LifterLMS registers seven exporters with WordPress, so its data is included automatically when you use the core tool.

  1. Go to Tools > Export Personal Data.
  2. Enter the person's email address and send the confirmation request.
  3. Once they confirm, download the export or email it to them.

The file includes groups for LifterLMS Student Data, Course Data, Quiz Data, Membership Data, Order Data, Achievement Data and Certificate Data, alongside whatever WordPress and other plugins contribute. Open one export for a test student before you need it for real, so you know what a requester will see.

The WordPress privacy handbook explains how exporters and erasers work if your developer needs to extend them.

What a LifterLMS erasure request removes

Erasure runs from Tools > Erase Personal Data and follows the same confirm-then-process flow. What happens to LifterLMS data depends partly on two settings in the Account Erasure Requests section of the Accounts settings tab. Both are off by default.

DataDefault behaviourSetting that changes it
Billing address, phone, IP address and last login on the userErasedNone
NotificationsDeletedNone
Earned achievements and certificatesDeletedNone
OrdersKept unchangedRemove Order Data: billing details and IP address are blanked, the order is marked anonymised, and active recurring orders are cancelled
Enrollments, progress and quiz attemptsKeptRemove Student LMS Data: all enrollment and activity rows and quiz attempts are deleted

Three practical points follow from this:

  • Erasure does not delete the WordPress account. That is how WordPress works. If the person wants their account gone, delete the user afterwards.
  • Decide the order setting with your accountant. Most businesses must keep invoices for a statutory period. Leaving Remove Order Data off keeps those records; switching it on anonymises them, which may suit you better if you keep invoices in a separate accounting system.
  • Certificates are deleted regardless. If certificates are evidence you must keep, for example for compliance training, export or archive them before processing the request.

In the erasure log you may notice two LifterLMS lines both labelled "Order Data". One of them is the certificate eraser, which carries the wrong label in the current code. It still erases certificates.

Gaps to close yourself

The built-in erasers do not touch everything in the inventory above. In the 10.3.2 source:

  • The activity events table and the lesson time sessions table are not covered by any eraser.
  • Deleting a WordPress user does not clear that user's rows from LifterLMS's custom tables.
  • Logs under LifterLMS > Status > Logs, stored in wp-content/uploads/llms-logs/, record user and order IDs for engagements, notifications and payments.
  • Third parties such as Stripe, PayPal and your mailing list keep their own copies.

A small custom eraser closes the first gap. This one follows your Remove Student LMS Data choice, so learning data is treated consistently:

<?php
add_filter( 'wp_privacy_personal_data_erasers', 'llmsx_register_activity_eraser' );
function llmsx_register_activity_eraser( $erasers ) {
	$erasers['llmsx-activity-data'] = array(
		'eraser_friendly_name' => 'LifterLMS Activity and Time Data',
		'callback'             => 'llmsx_erase_activity_data',
	);
	return $erasers;
}

function llmsx_erase_activity_data( $email_address, $page = 1 ) {
	global $wpdb;

	$result = array(
		'items_removed'  => false,
		'items_retained' => false,
		'messages'       => array(),
		'done'           => true,
	);

	$user = get_user_by( 'email', $email_address );
	if ( ! $user ) {
		return $result;
	}

	if ( ! llms_parse_bool( get_option( 'llms_erasure_request_removes_lms_data', 'no' ) ) ) {
		$result['items_retained'] = true;
		$result['messages'][]     = 'LifterLMS activity and time data retained.';
		return $result;
	}

	$wpdb->query( $wpdb->prepare(
		"DELETE FROM {$wpdb->prefix}lifterlms_events_open_sessions WHERE event_id IN ( SELECT id FROM {$wpdb->prefix}lifterlms_events WHERE actor_id = %d )",
		$user->ID
	) );
	$events = $wpdb->query( $wpdb->prepare(
		"DELETE FROM {$wpdb->prefix}lifterlms_events WHERE actor_id = %d",
		$user->ID
	) );
	$time = $wpdb->query( $wpdb->prepare(
		"DELETE FROM {$wpdb->prefix}lifterlms_lesson_time_sessions WHERE user_id = %d",
		$user->ID
	) );

	$result['items_removed'] = ( $events || $time );
	$result['messages'][]    = sprintf( 'Removed %d activity events and %d lesson time sessions.', (int) $events, (int) $time );

	return $result;
}

Test it on staging with a dummy student, and keep it in a custom plugin so it survives theme changes.

Data retention on a LifterLMS site

GDPR asks you to keep personal data no longer than you need it. LifterLMS has no automatic retention schedule for students, orders or progress, so retention is a policy you define and a process you run. A workable approach:

  1. Write down retention periods per data type. For example: orders for your statutory accounting period, learning records for as long as the account is active plus a fixed period, logs for a few months.
  2. Find inactive accounts. LifterLMS records a last login date for students, which you can use to identify long-dormant accounts.
  3. Process them through the erasure tool, then delete the WordPress user if appropriate.
  4. Prune logs. Delete old files from the logs folder on a schedule.
  5. Remember backups. Your backup retention should match your policy too.

Temporary session data is already handled: LifterLMS deletes expired sessions automatically on a schedule.

Common mistakes

  • Running an erasure without checking the two settings. With both off, orders and learning records stay; with both on, they go. Know which you chose.
  • Forgetting connected systems. Unsubscribing someone in LifterLMS does nothing to your CRM or email list.
  • Testing on a real person. Always run a first export and erasure on a test account.
  • Treating the default policy text as finished. It has placeholders, such as the number of years you keep orders.

Frequently asked questions

Is LifterLMS GDPR compliant?

No plugin is compliant on its own; compliance depends on how you run your site. LifterLMS gives you the tools: privacy notices, terms acceptance, data export, and erasure with configurable retention of orders and learning data.

Does deleting a user remove their LifterLMS data?

Not completely. Run an erasure request first, with the settings you want, then delete the user. Add a custom eraser for the events and time tables if you need those gone too.

Can I keep certificates after an erasure?

Not through the core tool, which deletes earned certificates. Export or archive them first if you are required to keep them.

What to do next

Make the inventory, choose your erasure settings deliberately, and run a full export and erasure on a test student this week. Then add the custom eraser if activity and time data must go too.

If you need a privacy review of your LifterLMS stack, retention automation, or erasure that reaches your CRM and other connected systems, our LifterLMS consulting service can map it and our developers can build it. Contact us to talk it through.

Add LifterLMS Expert to your preferred sources

Add lifterlmsexpert.com as a preferred source on Google, or open this article in your AI assistant to use it as a source.

  • Add as a preferred source on Google
Free consultation

Prefer expert help over DIY?

Skip the trial and error. Get specialist LifterLMS help and ship faster.

Talk to a LifterLMS Expert Explore our services

Replies within one business day