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

Send success pixel on successful data import #3437

Merged
merged 5 commits into from
Nov 11, 2024

Conversation

graeme
Copy link
Collaborator

@graeme graeme commented Oct 22, 2024

Task/Issue URL: https://app.asana.com/0/1203822806345703/1207768516988587/f

Description:

During ✓ Postmortem: Deduplicate passwords on import it was mentioned that having insight on the rate of import success vs failure would be useful.

We already have Pixels for failures but cannot calculate a success rate from that alone.

This adds import success Pixels with source and make sure the failure Pixels and their source parameter are being sent properly.

Steps to test this PR:

  1. Run this with the debugger attached
  2. Perform password / bookmark / favicon imports from all the import sources (or at least a sensible subset)
  3. Check that, on successful import, the pixel: m_mac_data-import-succeeded_{action}_{source} is sent

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@graeme graeme requested a review from amddg44 October 22, 2024 13:58
Copy link
Contributor

@amddg44 amddg44 left a comment

Choose a reason for hiding this comment

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

Tested out a whole bunch of imports and LGTM!

One small note, from the list of action cases bookmarks, passwords, favicons, generic I wasn’t able to trigger any bookmarks or passwords actions even when selecting import via html / csv file but perhaps I missed an import flow
image

Copy link
Contributor

This PR has been inactive for more than 7 days and will be automatically closed 7 days from now.

@github-actions github-actions bot added the stale label Oct 31, 2024
Copy link
Contributor

github-actions bot commented Nov 8, 2024

This PR has been closed after 14 days of inactivity. Feel free to reopen it if you plan to continue working on it or have further discussions.

@github-actions github-actions bot closed this Nov 8, 2024
@graeme graeme reopened this Nov 11, 2024
@graeme graeme merged commit 88e2d55 into main Nov 11, 2024
27 of 29 checks passed
@graeme graeme deleted the graeme/add-password-import-pixel-events branch November 11, 2024 13:50
graeme added a commit that referenced this pull request Nov 11, 2024
Task/Issue URL:
https://app.asana.com/0/1203822806345703/1207768516988587/f

**Description**:

During [✓ Postmortem: Deduplicate passwords on
import](https://app.asana.com/0/0/1207598056251596) it was mentioned
that having insight on the rate of import success vs failure would be
useful.

We already have Pixels for failures but cannot calculate a success rate
from that alone.

This adds import success Pixels with source and make sure the failure
Pixels and their source parameter are being sent properly.

**Steps to test this PR**:
1. Run this with the debugger attached
2. Perform password / bookmark / favicon imports from all the import
sources (or at least a sensible subset)
3. Check that, on successful import, the pixel:
m_mac_data-import-succeeded_{action}_{source} is sent

<!--
Tagging instructions
If this PR isn't ready to be merged for whatever reason it should be
marked with the `DO NOT MERGE` label (particularly if it's a draft)
If it's pending Product Review/PFR, please add the `Pending Product
Review` label.

If at any point it isn't actively being worked on/ready for
review/otherwise moving forward (besides the above PR/PFR exception)
strongly consider closing it (or not opening it in the first place). If
you decide not to close it, make sure it's labelled to make it clear the
PRs state and comment with more information.
-->

**Definition of Done**:

* [ ] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

---
###### Internal references:
[Pull Request Review
Checklist](https://app.asana.com/0/1202500774821704/1203764234894239/f)
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
[Pull Request
Documentation](https://app.asana.com/0/1202500774821704/1204012835277482/f)
samsymons added a commit that referenced this pull request Nov 12, 2024
# By Dax the Duck (5) and others
# Via GitHub (3) and Juan Manuel Pereira (1)
* main:
  Remediate TunnelVision, TunnelCrack and fix "Exclude Local Networks" (#3422)
  Sync: Send pixels for account removal + decoding issues (#3530)
  Send success pixel on successful data import (#3437)
  Bump version to 1.114.0 (304)
  Set marketing version to 1.114.0
  Update embedded files
  Introduce report broken site prompt on triple refresh page (#3523)
  add state for import (#3485)
  Bump version to 1.113.0 (303)
  Do not use suggestion view controller visibility to set suggestion (#3529)
  Fix SwiftLint
  Fix SwiftLint
  Update phishing protection datasets to 1686837 (#3494)
  Bump version to 1.113.0 (302)
  Update permission string for location popup (#3526)
  Send auth state with sync unexpectedly disabled pixel (#3521)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Nov 13, 2024
* main:
  Do not run NTP Search Box experiment (#3537)
  Bump version to 1.114.0 (305)
  Sync: Send pixels for account removal + decoding issues (#3530)
  Send success pixel on successful data import (#3437)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants