Skip to content

Conversation

@nalcalag
Copy link
Contributor

@nalcalag nalcalag commented Jan 20, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1212875937282216?focus=true

Description

Add unique pixels for free trial start and VPN activation during free trial

Steps to test this PR

Pre steps

Free Trial starts

  • Fresh install
  • Purchase a free trial
  • Check in the logcat that subscription_free_trial_start_u pixel is sent

Pixel is unique

  • Go to Subscription Settings
  • Select Remove from This Device and confirm
  • Purchase the Free Trial again and make sure the pixel is not fired again checking the logcat

VPN activation pixel

  • Activate VPN while in the Free Trial
  • Check in the logcat that subscription_free_trial_vpn_activation_u pixel with params: activation_day=vpn_activated_d1 is fired

_Pixels not fired when paid Subscription _

  • Cancel free trial
  • Wait until it expires
  • Go to Settings > View Plans
  • Purchase a paid subscription
  • Check in the logcat that pixel subscription_free_trial_start_u is not sent
  • Activate VPN
  • Check in the logcat that pixel subscription_free_trial_start_u is not sent

No UI changes


Note

Introduces analytics for free trial lifecycle and integrates them into the existing free-trial conversion flow.

  • Adds FREE_TRIAL_START and FREE_TRIAL_VPN_ACTIVATION pixels in SubscriptionPixel with activation_day param (for VPN) and sender methods in SubscriptionPixelSender
  • Updates FreeTrialConversionWideEventImpl to always fire reportFreeTrialStart() on trial start and reportFreeTrialVpnActivation(<D1|D2-7>) during trial; wide event steps remain gated by the feature flag and recorded once per flow
  • Extends tests to validate pixel emission, gating/once-per-flow behavior, and that pixels still fire when wide events are disabled

Written by Cursor Bugbot for commit d544425. This will update automatically on new commits. Configure here.

Copy link
Contributor Author

nalcalag commented Jan 20, 2026

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

@nalcalag nalcalag marked this pull request as ready for review January 21, 2026 16:14
@lmac012 lmac012 self-requested a review January 22, 2026 14:59
Copy link
Contributor

@lmac012 lmac012 left a comment

Choose a reason for hiding this comment

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

Works as expected 👍

@nalcalag nalcalag force-pushed the feature/noelia/add_free_trial_unique_pixels branch from e2859b8 to d544425 Compare January 22, 2026 18:28
@nalcalag nalcalag merged commit fafe86e into develop Jan 23, 2026
11 checks passed
@nalcalag nalcalag deleted the feature/noelia/add_free_trial_unique_pixels branch January 23, 2026 09:58
nalcalag added a commit that referenced this pull request Jan 23, 2026
Task/Issue URL:
https://app.asana.com/1/137249556945/project/488551667048375/task/1212929097662561?focus=true

### Description
Pixel definition for pixels added in
#7535

### Steps to test this PR

N/A

### No UI changes

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Adds new subscription free trial telemetry definitions.
> 
> - Introduces `subscription_free_trial_start` and
`subscription_free_trial_vpn_activation` pixels in
`subscription_pixels.json5`
> - `vpn_activation` includes `activation_day` param with enum values to
distinguish activation timing
> - No code/UI changes; extends pixel schema only
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
6ab1638. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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