Developer Documentation

Install the PTFinder widget on your site with one line of code.

PTFinder combines a front-end intake widget with a back-end admin dashboard.
The widget lives on your website; the dashboard is where you manage trainers, leads, and analytics.

Installation

Add these two lines to your website's HTML <head> section or before the closing </body> tag:

<link rel="stylesheet" href="https://ptfinder.mudiwell.com/static/widget.css">
<script src="https://ptfinder.mudiwell.com/static/widget.js"></script>

Embed the Widget Button

Add a button anywhere on your website where you want visitors to access the trainer matching flow:

<button
  data-ptfinder-widget
  data-tenant="YOUR_TENANT_ID"
  data-brand="Your Gym Name"
  data-primary="#111111"
  data-api-url="https://ptfinder.mudiwell.com">
  Find Your Trainer
</button>

Configuration Options

Customize the widget behavior using these data attributes:

Example Configurations

Minimal Configuration:

<button data-ptfinder-widget data-tenant="ssl" data-api-url="https://ptfinder.com">
  Get Matched
</button>

Full Customization:

<a href="#"
  data-ptfinder-widget
  data-tenant="your-gym-id"
  data-brand="Elite Performance Training"
  data-primary="#FF5500"
  data-api-url="https://ptfinder.yoursite.com">
  Find My Perfect Trainer →
</a>

Styling Your Button

You can style the trigger button using your own CSS classes. The widget will work with any clickable element:

<button
  class="your-custom-button-class"
  data-ptfinder-widget
  data-tenant="ssl"
  data-api-url="https://ptfinder.com">
  Match Me With a Trainer
</button>

Admin Panel

Once your widget is set up, you can manage leads and trainers through your admin dashboard:

Access your admin panel at /admin

Support

Need help with integration? Have questions about customization? Contact us and we'll help you get set up.

Ready to add PTFinder to your website?

Request PTFinder for Your Gym