Skip to content

fix(ab-test): add custom dimension for segment queries#17646

Merged
pettinarip merged 1 commit into
masterfrom
fix/ab-test-custom-dimension
Feb 24, 2026
Merged

fix(ab-test): add custom dimension for segment queries#17646
pettinarip merged 1 commit into
masterfrom
fix/ab-test-custom-dimension

Conversation

@pettinarip
Copy link
Copy Markdown
Member

Summary

  • Adds setCustomDimension call to track A/B test variant in Matomo's custom dimension 1
  • Enables querying variants via segment queries (e.g., dimension1==Original)
  • Fixes issue where Original variation returned empty for segment queries

Test plan

  • Verify Matomo receives custom dimension data after deploy
  • Confirm segment query dimension1==Original returns results

Enables querying A/B test variants via Matomo segments (e.g., dimension1==Original).
The custom dimension (dimension1, visit-scoped) is already configured in Matomo.
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 24, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 7524a83
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/699d761ec0e763000827a929
😎 Deploy Preview https://deploy-preview-17646.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 59 (🔴 down 1 from production)
Accessibility: 94 (🟢 up 1 from production)
Best Practices: 100 (no change from production)
SEO: 99 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@pettinarip pettinarip merged commit fab2296 into master Feb 24, 2026
9 of 11 checks passed
@pettinarip pettinarip deleted the fix/ab-test-custom-dimension branch February 24, 2026 10:01
fmendezespinoza887-max

This comment was marked as spam.

@fmendezespinoza887-max

This comment was marked as spam.

@fmendezespinoza887-max

This comment was marked as spam.

@fmendezespinoza887-max

This comment was marked as spam.

@wackerow
Copy link
Copy Markdown
Member

Cerberus, block fmendezespinoza887-max

@cerberus-robot
Copy link
Copy Markdown

⚠️ User fmendezespinoza887-max was not found in Cerberus database.
ℹ️ Blocking GitHub user @fmendezespinoza887-max
☑️ User blocked

@pettinarip pettinarip mentioned this pull request Feb 27, 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.

3 participants