PersonaLift Documentation

Get started with AI-powered personalization for your fitness business in under 10 minutes.

Getting Started

Quick Setup (3 steps)

1
Add JavaScript snippet to your website
2
Select your first campaign template
3
Start personalizing and track results

PersonaLift works by analyzing visitor behavior and personalizing your website content in real-time. The AI considers factors like location, device, traffic source, and on-site behavior to optimize conversions.

Installation

1. Add JavaScript Snippet

Copy and paste this code into the <head> section of your website. It works with WordPress, Squarespace, Webflow, Wix, and any HTML site.

<script src="https://cdn.personalift.io/pl.js"></script>
<script>
  PersonaLift.init({
    apiKey: 'your-api-key-here',
    domain: 'yourdomain.com'
  });
</script>

Important: Replace 'your-api-key-here' with your actual API key from theIntegrations page.

2. Platform-Specific Instructions

WordPress

Add to Appearance → Theme Editor → header.php or use a plugin like "Insert Headers and Footers"

View WordPress guide

Squarespace

Go to Settings → Advanced → Code Injection → Header

View Squarespace guide

Webflow

Project Settings → Custom Code → Head Code

View Webflow guide

Wix

Settings → Custom Code → Add Code to Head

View Wix guide

Integrations

Connect PersonaLift with your existing tools to automatically sync leads and track conversions.

GoHighLevel

Automatically sync PersonaLift conversions to your GHL contacts and funnels.

1. Get your GHL API key
2. Add webhook URL to PersonaLift
3. Map conversion events

Mindbody

Connect with Mindbody to sync class bookings and member data.

1. Enable Mindbody API access
2. Configure PersonaLift connection
3. Set up class booking tracking

Events & Conversion Goals

Track specific actions as conversions to measure PersonaLift's impact on your business.

Common Fitness Conversions

Trial Sign-ups

Track when visitors sign up for free trials or intro offers.

PersonaLift.track('trial_signup', {value: 0, email: 'user@email.com'})

Class Bookings

Track class reservations and drop-in purchases.

PersonaLift.track('class_booking', {value: 25, class: 'Yoga Flow'})

Membership Sales

Track full membership purchases and upgrades.

PersonaLift.track('membership_sale', {value: 149, plan: 'monthly'})

Events Schema Reference

Event NameRequired FieldsOptional FieldsDescription
trial_signupemailvalue, source, plan_typeFree trial registration or intro offer signup
class_bookingclassvalue, email, date, instructorClass reservation or drop-in purchase
membership_saleplanvalue, email, duration, upgrade_fromFull membership purchase or upgrade
personal_trainingtrainervalue, email, sessions, specialtyPersonal training package purchase
nutrition_consultationservicevalue, email, duration, dietary_goalsNutrition counseling or meal plan signup

Field Guidelines

value: Revenue amount in dollars (e.g., 149.99)

email: Customer email for attribution and follow-up

plan/class/trainer: Specific service or product name

Custom fields: Add any additional data relevant to your business

End-to-End Implementation Examples

Complete code examples showing exactly where and how to implement conversion tracking in common fitness business scenarios.

Trial Sign-up Form

Track when visitors complete your free trial registration form.

HTML Form:
<form id="trial-form" action="/signup" method="post">
  <input type="text" name="name" placeholder="Full Name" required>
  <input type="email" name="email" placeholder="Email" required>
  <button type="submit">Start Free Trial</button>
</form>

<script>
document.getElementById('trial-form').addEventListener('submit', function(e) {
  const email = e.target.email.value;
  
  // Track the trial signup
  PersonaLift.track('trial_signup', {
    value: 0,
    email: email
  });
  
  // Form will continue submitting normally
});
</script>

Events Schema

Event: trial_signup
Required: email
Optional: value (set to 0 for free trials)

Class Booking Button

Track when visitors click to book a specific class or session.

Class Schedule Page:
<div class="class-card">
  <h3>Hot Yoga Flow</h3>
  <p>Tuesday 7:00 PM</p>
  <button class="book-btn" data-class="Hot Yoga Flow" data-value="25">
    Book Class ($25)
  </button>
</div>

<script>
document.querySelectorAll('.book-btn').forEach(button => {
  button.addEventListener('click', function() {
    const className = this.dataset.class;
    const value = parseInt(this.dataset.value);
    
    // Track the class booking
    PersonaLift.track('class_booking', {
      value: value,
      class: className
    });
    
    // Redirect to booking page
    window.location.href = '/book?class=' + encodeURIComponent(className);
  });
});
</script>

Events Schema

Event: class_booking
Required: class
Optional: value, email

Membership Purchase Confirmation

Track completed membership purchases on your success/thank-you page.

Thank You Page:
<!-- Place this on your checkout success page -->
<div class="success-message">
  <h1>Welcome to FitCore Athletics!</h1>
  <p>Your monthly membership is now active.</p>
</div>

<script>
// Get order details from your backend or URL params
const urlParams = new URLSearchParams(window.location.search);
const plan = urlParams.get('plan') || 'monthly';
const value = urlParams.get('value') || 149;

// Track the membership sale
PersonaLift.track('membership_sale', {
  value: parseInt(value),
  plan: plan,
  email: '{{customer_email}}' // Replace with actual customer email
});
</script>

Events Schema

Event: membership_sale
Required: plan
Optional: value, email

💡 Implementation Tips

  • • Always call PersonaLift.track() after the user action completes
  • • Include monetary value when possible for ROI calculation
  • • Test your tracking with browser dev tools to verify events fire
  • • Use consistent event names across your campaigns

Troubleshooting

Script Not Loading

  • Check that the script is in the <head> section
  • Verify your API key is correct
  • Check browser console for errors
  • Ensure you're not blocking third-party scripts

Personalization Not Working

  • Confirm your campaign is active in the dashboard
  • Check that data attributes are present on your elements
  • Verify targeting conditions are met
  • Review activity logs for debugging information

Conversions Not Tracking

  • Ensure PersonaLift.track() is called on conversion
  • Check that the event name matches your campaign
  • Verify the conversion happens after page load
  • Review the activity logs for conversion events

Security & Privacy

Data Protection

  • • All data encrypted in transit (TLS 1.2+) and at rest (AES-256)
  • • No personally identifiable information stored without consent
  • • GDPR and CCPA compliant data handling
  • • Enterprise customers get dedicated data processing agreements
  • • Regular security audits and penetration testing

Need Help?

Can't find what you're looking for? Our support team is here to help.