Skip to content

Tag prosopo.io and portal links in the settings screens with UTM parameters - #56

Merged
forgetso merged 2 commits into
mainfrom
feat/utm-tag-prosopo-links
Oct 23, 2026
Merged

forgetso merged 2 commits into
mainfrom
feat/utm-tag-prosopo-links

Conversation

@forgetso

@forgetso forgetso commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

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-origin from 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_content shows which link was clicked:

Link utm_content
"Visit Website" and "Visit Portal" at the top of the settings page header
"Upgrade" button on the upgrade banner upgrade-banner
"View the traffic analytics" on the statistics tab statistics-traffic
"Open the Portal" on the statistics tab statistics-about

Docs links and the plugin header's Author URI are 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-plugins e2e 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.json entries now accept slug@version to pin a WordPress.org release. CF7 is pinned to 6.1.4, the last release that supports PHP 7.4.

Test plan

  • Prettier and eslint pass on the changed TSX files.
  • php -l passes on Upgrade_Tier_Banner.php.
  • Click each link in wp-admin and check that the parameters arrive.

🤖 Generated with Claude Code

forgetso and others added 2 commits October 23, 2026 09:32
…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>
@forgetso
forgetso merged commit 167d9ab into main Oct 23, 2026
8 checks passed
This was referenced Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant