Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interceptor for metric pixels #5163

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

marcosholgado
Copy link
Contributor

@marcosholgado marcosholgado commented Oct 21, 2024

Task/Issue URL: https://app.asana.com/0/1125189844152671/1208490557030193/f

Description

Adds an interceptor to be used with metric pixels for a/b/n framework

Steps to test this PR

Note: You can use the patch from the task to avoid having to think about the setup, etc.

  • Apply the patch, this will add you to an experiment after clicking the refresh button from the menu and will also try to fire two metric pixels at that point.
  • Install and launch the app, go to any website, click the menu and then refresh.
  • The enrollment pixel should be sent as well as this metric pixel (date should be today)/experiment_metrics_buttonColorExperiment_control_android_phone?metric=refreshClicked&value=1&conversionWindowDays=0-1&enrollmentDate=2024-10-21&test=1
  • No atb, appVersion or OS version should be in the pixel.
  • Click again on menu and then refresh.
  • Metric pixel should not be sent. Filtering by request dropped should show two pixels for the experiment what were dropped (value=1 already sent and value=2 wrong window)

Copy link
Contributor Author

marcosholgado commented Oct 21, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @marcosholgado and the rest of your teammates on Graphite Graphite

@marcosholgado marcosholgado force-pushed the feature/marcos/abn_pixels branch 3 times, most recently from cd422c8 to e3d1bec Compare October 23, 2024 14:17
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.

2 participants