Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

For #28428: update growth data with new events #28429

Merged
merged 2 commits into from
Jan 7, 2023

Conversation

MatthewTighe
Copy link
Contributor

@MatthewTighe MatthewTighe commented Jan 6, 2023

Decided to address all the new requirements in a single issue instead of splitting them, in order to make the uplift a bit more manageable. In retrospect, probably would've been good to do separate commits but I wasn't sure how well mergify would handle that so thanks in advance!

Note: we will need to wait to land this until it can be updated with actual event tokens for the new growth data but as of posting they had not been generated yet. Thought it would be more beneficial to get reviews early

Pull Request checklist

  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features. In addition, it includes a screenshot of a successful accessibility scan to ensure no new defects are added to the product.

QA

  • QA Needed

To download an APK when reviewing a PR (after all CI tasks finished running):

  1. Click on Checks at the top of the PR page.
  2. Click on the firefoxci-taskcluster group on the left to expand all tasks.
  3. Click on the build-debug task.
  4. Click on View task in Taskcluster in the new DETAILS section.
  5. The APK links should be on the right side of the screen, named for each CPU architecture.

GitHub Automation

Fixes #28428

@MatthewTighe MatthewTighe requested review from a team as code owners January 6, 2023 00:28
*/
object FirstUriLoadForDay : GrowthData("ja86ek")
object SerpAdClicked : GrowthData("")
Copy link
Contributor

@t-p-white t-p-white Jan 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of interest, how is the token name generated, and do UriLoaded and SerpAdClicked require token names adding?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The token name is generated in the Adjust web app, usually by the marketing/data team. I will wait to land this until those strings have been delivered. Without the tokens, I assume sending the events to the Adjust backend will be no-ops

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, thanks 👍

Copy link
Contributor

@t-p-white t-p-white left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits from my perspective. Maybe useful to have someone with more experience in this area also take a look. My concern is if I've missed any cases where an event should be being handled elsewhere.

Copy link
Contributor

@jonalmeida jonalmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick turnaround, this looks good to me.

@MatthewTighe MatthewTighe added pr:needs-landing PRs that are ready to land [Will be merged by Mergify] and removed needs:review PRs that need to be reviewed labels Jan 7, 2023
@mergify mergify bot merged commit 24674cb into mozilla-mobile:main Jan 7, 2023
@MatthewTighe
Copy link
Contributor Author

@Mergifyio backport releases_v109.0.0

@mergify
Copy link
Contributor

mergify bot commented Jan 7, 2023

backport releases_v109.0.0

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Feb 2, 2023
(cherry picked from commit 7d84c53)

# Conflicts:
#	app/src/main/java/org/mozilla/fenix/components/metrics/Event.kt
#	app/src/main/java/org/mozilla/fenix/components/metrics/MetricsStorage.kt
#	app/src/main/java/org/mozilla/fenix/telemetry/TelemetryMiddleware.kt
#	app/src/main/java/org/mozilla/fenix/utils/Settings.kt
#	app/src/main/res/values/preference_keys.xml
#	app/src/test/java/org/mozilla/fenix/components/metrics/DefaultMetricsStorageTest.kt
#	app/src/test/java/org/mozilla/fenix/telemetry/TelemetryMiddlewareTest.kt
MatthewTighe added a commit that referenced this pull request Feb 2, 2023
MatthewTighe added a commit that referenced this pull request Feb 2, 2023
(cherry picked from commit 7d84c53)

Co-authored-by: MatthewTighe <matthewdtighe@gmail.com>
JohanLorenzo pushed a commit to mozilla-releng/staging-firefox-android that referenced this pull request Feb 6, 2023
JohanLorenzo pushed a commit to mozilla-mobile/firefox-android that referenced this pull request Feb 16, 2023
…mobile/fenix#28429 (mozilla-mobile/fenix#28750)

(cherry picked from commit 11227fa)

Co-authored-by: MatthewTighe <matthewdtighe@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr:needs-landing PRs that are ready to land [Will be merged by Mergify]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update GrowthData with new events
3 participants