Repository navigation
Tag prosopo.io and portal links in the settings screens with UTM parameters - #56
Merged
Merged
Conversation
…meters Lets prosopo.io and the portal recognise visitors coming from the plugin and send them to the right page. utm_content records which link was used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CF7 6.2 raised its minimum PHP version to 8.3, but the test site runs on PHP 7.4, so CF7 no longer loaded and its shortcodes rendered as plain text. Installation lists now accept slug@version to pin a WordPress.org release; 6.1.4 is the last CF7 release that supports PHP 7.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds UTM parameters to the links from the plugin's settings screens to prosopo.io and the Prosopo portal.
WordPress sends
Referrer-Policy: strict-origin-when-cross-originfrom wp-admin, so all we get today is the site's domain. That looks the same as any other WordPress site. With these parameters, prosopo.io and the portal can tell a visitor came from this plugin and send them to the right page.All links use
utm_source=procaptcha-wp&utm_medium=plugin&utm_campaign=settings.utm_contentshows which link was clicked:utm_contentheaderupgrade-bannerstatistics-trafficstatistics-aboutDocs links and the plugin header's
Author URIare unchanged.The same change for the MC4WP integration is in ibericode/mailchimp-for-wordpress#858, using
utm_source=mc4wp.Also: pin Contact Form 7 in the e2e tests
The
form-pluginse2e job was failing on every branch, for a reason unrelated to this change. CF7 6.2 raised its minimum PHP version to 8.3. The test site runs on PHP 7.4, so the latest CF7 never loaded and its shortcodes rendered as plain text.installation-list.jsonentries now acceptslug@versionto pin a WordPress.org release. CF7 is pinned to 6.1.4, the last release that supports PHP 7.4.Test plan
php -lpasses onUpgrade_Tier_Banner.php.🤖 Generated with Claude Code