Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mikehillmt/mma-redirect/archive/refs/heads/main.zipA/B split testing for landing pages with comprehensive tracking and parameter preservation.
Description
MMA Redirect is a lightweight WordPress plugin that performs A/B split testing for landing pages. Create short URLs that rotate between multiple destination URLs, track clicks and conversions, and determine which landing page variant performs best.
Key Features
- Link Rotation: Create one short URL that rotates between 2-20 destination URLs
- Traffic Distribution: Equal split or custom weighted distribution (e.g., 70/30)
- Click Tracking: Track clicks with device type, browser, and referrer data
- Conversion Tracking: Set a goal URL to track conversions per variant
- Parameter Preservation: Automatically pass UTM parameters, Facebook/Google click IDs, and custom parameters
- Parameter Injection: Add default parameters to variant URLs with macro support
- Detailed Reports: View traffic sources, conversion rates, and declare winners
- CSV Export: Export all tracking data for analysis
- GDPR Compliant: IP addresses are anonymized before storage
Supported Parameters
- UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content)
- Facebook (fbclid)
- Google Ads (gclid, gclsrc)
- Microsoft/Bing Ads (msclkid)
- Any custom URL parameters
Parameter Macros
Use these macros in your default parameters:
{test_name}- Replaced with the test name{variant_id}- Replaced with the variant ID{timestamp}- Replaced with Unix timestamp
Installation
- Upload the
mma-redirectfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Navigate to 'MMA Redirect' in the admin menu
- Create your first split test
Frequently Asked Questions
How long should I run a split test?
We recommend running tests for at least 7 days with a minimum of 100 clicks per variant for reliable results.
Can I change variants during a test?
It's not recommended as it can skew your results. Create a new test instead.
Are URL parameters preserved through redirects?
Yes, all URL parameters from the incoming URL are automatically preserved and passed to the destination variant.
How do I track Facebook ads?
Facebook click IDs (fbclid) are automatically captured and stored in your click data.
What redirect type should I use?
307 (Temporary Redirect) is recommended for split testing as it tells search engines the redirect is temporary.
How is conversion tracking done?
When a user clicks your split test URL, they receive a cookie. If they later visit your goal URL (e.g., thank you page), the conversion is attributed to the original variant they saw.
Changelog
1.0.0
- Initial release
Upgrade Notice
1.0.0
Initial release of MMA Redirect.