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 parameter to multiple Autofill pixels #2032

Merged
merged 5 commits into from
Oct 8, 2023

Conversation

amddg44
Copy link
Contributor

@amddg44 amddg44 commented Sep 22, 2023

Task/Issue URL: https://app.asana.com/0/0/1205431733474502/f
Tech Design URL:
CC:

Description:
Adding a temporary "default state" parameter to some autofill pixels ahead of Autofill becoming "on by default"

Steps to test this PR:
Note: the parameter will currently always be off since Autofill is currently off by default for all users. The logic to make this dynamic will be based on a phased rollout remote feature will be tackled in another PR.
Also, https://fill.dev/ is a useful site for testing

  1. Enable Autofill in the Logins screen
  2. Run through the various Autofill actions to trigger the pixels from this list. Confirm they all have this parameter: ["default_state": "off"]

Prompt to disable setting:
To test this, start with a clean install and Autofill enabled. Visit 3 different websites that have a login option and attempt to login to each. For each Save Prompt choose "Not Now". After the 3rd "Not Now" you'll be presented with the alert that fires these pixels:

  • m_autofill_logins_save_disable-prompt_shown
  • m_autofill_logins_save_disable-prompt_autofill-kept
  • m_autofill_logins_save_disable-prompt_autofill-disabled

Save login prompt:

  • m_autofill_logins_save_login_inline_displayed
  • m_autofill_logins_save_login_inline_confirmed
  • m_autofill_logins_save_login_inline_dismissed

Save password prompt:
(https://news.ycombinator.com/login is a useful site to test triggering the password only save prompt - in the login form enter only a password and tap login to trigger)

  • m_autofill_logins_save_password_inline_displayed
  • m_autofill_logins_save_password_inline_confirmed
  • m_autofill_logins_save_password_inline_dismissed

Fill login prompt:

  • m_autofill_logins_fill_login_inline_manual_displayed
  • m_autofill_logins_fill_login_inline_manual_confirmed
  • m_autofill_logins_fill_login_inline_manual_dismissed
  • m_autofill_logins_fill_login_inline_autoprompt_displayed
  • m_autofill_logins_fill_login_inline_autoprompt_confirmed
  • m_autofill_logins_autoprompt_dismissed

Opening and toggling autofill logins setting:

  • m_autofill_settings_opened (Triggered by accessing Logins from Settings screen)
  • m_nav_autofill_menu_item_pressed (Triggered by accessing Logins from browsing menu)
  • m_autofill_logins_settings_enabled
  • m_autofill_logins_settings_disabled

Password generation prompts:

  • m_autofill_logins_password_generation_prompt_displayed
  • m_autofill_logins_password_generation_prompt_confirmed
  • m_autofill_logins_password_generation_prompt_dismissed

Internal references:

Software Engineering Expectations
Technical Design Template

@amddg44 amddg44 requested review from a team and SabrinaTardio and removed request for a team September 22, 2023 10:37
Copy link
Contributor

@SabrinaTardio SabrinaTardio left a comment

Choose a reason for hiding this comment

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

LGTM!

Task/Issue URL: https://app.asana.com/0/0/1205296228305939/f
Tech Design URL:
CC:

Description:
Adds support for rolling out Autofill as on by default for new installs based on the incremental feature flag onByDefault
…l-param-updates

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
@amddg44 amddg44 merged commit 325d8cc into develop Oct 8, 2023
9 checks passed
@amddg44 amddg44 deleted the anya/autofill-pixel-param-updates branch October 8, 2023 12:40
samsymons added a commit that referenced this pull request Oct 9, 2023
* develop:
  Add parameter to multiple Autofill pixels (#2032)
  Removes iOS phased rollout dry run pixel (#2064)
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