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 pixels for our main VPN funnels #698

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Mar 5, 2024

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

macOS PR: duckduckgo/macos-browser#2304
iOS PR: duckduckgo/iOS#2543

Description

Add pixels to better track all main VPN funnels. For BSK this means:

  • VPN Tunnel Start
  • VPN Tunnel Update (change location, etc)

Testing

See platform-specific PRs for testing instructions.


Internal references:

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

@diegoreymendez diegoreymendez changed the base branch from main to release/114.1.0-1 March 5, 2024 15:14
@diegoreymendez diegoreymendez force-pushed the diego/vpn-controller-pixels branch from 1aa89c9 to 2216252 Compare March 5, 2024 15:16
@diegoreymendez diegoreymendez requested a review from samsymons March 5, 2024 15:17
@diegoreymendez diegoreymendez marked this pull request as ready for review March 5, 2024 15:17
@diegoreymendez diegoreymendez self-assigned this Mar 6, 2024
@@ -480,6 +494,12 @@ open class PacketTunnelProvider: NEPacketTunnelProvider {

open override func startTunnel(options: [String: NSObject]?, completionHandler: @escaping (Error?) -> Void) {
Task { @MainActor in
os_log("🚀 Options are: %{public}@", String(reflecting: options))
os_log("🚀 Error 1: %{public}@", String((TunnelError.startingTunnelWithoutAuthToken as NSError).code))
os_log("🚀 Error 2: %{public}@", String((TunnelError.couldNotGenerateTunnelConfiguration(internalError: NSError(domain: "asd", code: 0)) as NSError).code))
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use a proper domain here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll kill these.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed.

Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

LGTM besides one comment - thanks!

@diegoreymendez diegoreymendez changed the base branch from release/114.1.0-1 to hotfix/114.1.0-1 March 7, 2024 10:00
@diegoreymendez diegoreymendez merged commit d9de416 into hotfix/114.1.0-1 Mar 7, 2024
7 checks passed
@diegoreymendez diegoreymendez deleted the diego/vpn-controller-pixels branch March 7, 2024 10:02
diegoreymendez added a commit to duckduckgo/iOS that referenced this pull request Mar 7, 2024
Task/Issue URL: https://app.asana.com/0/0/1206737255908394/f

macOS PR: duckduckgo/macos-browser#2304
BSK PR: duckduckgo/BrowserServicesKit#698

## Description

Add pixels to better track all main VPN funnels:
- VPN Controller Start
- VPN Tunnel Start
- VPN Tunnel Update (change location, etc)
diegoreymendez added a commit to duckduckgo/macos-browser that referenced this pull request Mar 7, 2024
Task/Issue URL: https://app.asana.com/0/0/1206737255908394/f

iOS PR: duckduckgo/iOS#2543
BSK PR: duckduckgo/BrowserServicesKit#698

## Description

Add pixels to better track all main VPN funnels:
- VPN Controller Start (installation, onboarding)
- VPN Tunnel Start
- VPN Tunnel Update (change location, etc)
samsymons added a commit that referenced this pull request Mar 8, 2024
* main:
  Changes to 114.1.0-1 hotfix branch (#706)
  Navigation: Improve same-document navigation handling (#702)
  Add pixels for our main VPN funnels (#698)
  Remove Autoconsent subfeature (#697)
  #URL macro (#657)
  Handle expired entitlement in NetP (#692)
  Remove isSubscriptionEnabled check when attempting to delete NetP token (#701)
  Remove CGNAT range. (#691)
  Subscription keychain sharing for access token (#690)
  Integrate confirm entitlements endpoint (#700)
  fix bundle name in breakByRaisingSigInt (#699)
  Adds support for deleting all logins (#672)
  Bump C-S-S to 5.2.0 (#695)
  Update xcode-version to 15.2. (#688)
  Bump Tests/BrowserServicesKitTests/Resources/privacy-reference-tests (#687)
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