Skip to content

Brave.com referrer code tests

Stephen Donner edited this page Oct 5, 2021 · 14 revisions

ref= codes:

  • brave.com/rogan = WWK708
  • brave.com/annacramling = APX606
  • brave.com/talk = QPU818
  • talk.brave.com = LVT920

Format: https://brave.com/?ref=LVT920

Clients used:

  • Windows: Microsoft Edge on Windows 11 (preview)
  • macOS: Safari Version 15.1 (17612.2.6.1.1) on macOS 12.0 beta (21A5534d)
  • Android: Chrome 77.0.3359.158 on Android 9
  • Linux: referral codes aren't supported on Linux due to https://brave.com/linux/ instructions

No referral codes

  1. New profile
  2. Launch Brave
  3. Load staging.brave.com/download
  4. Click on the Download Brave button
  5. In the resulting popup, check the platform-specific links
  6. Confirm there's no referral codes in the URLs: https://laptop-updates-staging.brave.com/latest/osx/release, https://laptop-updates-staging.brave.com/latest/osxarm64/release and https://laptop-updates-staging.brave.com/latest/winx64

brave.com/rogan referrer (WWK708)

  1. New profile
  2. Launch Brave
  3. Load staging.brave.com/rogan
  4. Click on the Download Brave button
  5. In the resulting popup, check the platform-specifc links
  6. Confirm they are https://laptop-updates-staging.brave.com/download/desktop/direct/osx/release/WWK708, https://laptop-updates-staging.brave.com/download/desktop/direct/osxarm64/release/WWK708, and https://laptop-updates-staging.brave.com/download/WWK708

brave.com/annacramling referrer (APX606)

  1. New profile
  2. Launch Brave
  3. Loadstaging.brave.com/annacramling
  4. Click on the Download Brave button
  5. In the resulting popup, check the platform-specific links
  6. Confirm they are https://laptop-updates-staging.brave.com/download/desktop/direct/osx/release/APX606, https://laptop-updates-staging.brave.com/download/desktop/direct/osxarm64/release/APX606, and https://laptop-updates-staging.brave.com/download/APX606

brave.com/talk referrer (QPU818)

  1. New profile
  2. Launch Brave
  3. Load staging.brave.com/talk
  4. Click on Download Brave to start a call button
  5. In the resulting popup, check the platform-specific links
  6. Confirm they go to https://laptop-updates-staging.brave.com/download/desktop/direct/osx/release/QPU818, https://laptop-updates-staging.brave.com/download/desktop/direct/osxarm64/release/QPU818, and https://laptop-updates-staging.brave.com/download/QPU818

Non-release build channels

  1. New profile
  2. Launch Brave
  3. Load the following sites:
    1. staging.brave.com/download-beta/?ref=LVT920
    2. staging.brave.com/download-nightly/?ref=LVT920
  4. Click on the Download (Beta|Nightly) for macOS button
  5. In the resulting popup, check platform-specific links
  6. Confirm there's no referral codes in their URLs: https://laptop-updates-staging.brave.com/latest/osx/beta, https://laptop-updates-staging.brave.com/latest/osxarm64/beta and https://laptop-updates-staging.brave.com/latest/winx64/beta

Bogus ref code (123456)

  1. New profile
  2. Launch Brave
  3. Load staging.brave.com/download/?ref=123456
  4. Click on the Download Brave for macOS button
  5. In the resulting popup, check the platform-specific links
  6. Confirm there's no referral codes in their URLs: https://laptop-updates-staging.brave.com/latest/osx/release, https://laptop-updates-staging.brave.com/latest/osxarm64/release, and https://laptop-updates-staging.brave.com/latest/winx64

?ref= param > localStorage refcode

  1. New profile
  2. Launch Brave
  3. Load staging.brave.com/?ref=LVT920
  4. Now click on Download Brave (ref=LVT920 now, in localStorage )
  5. Load staging.brave.com/?ref=APX606
  6. Click on Download Brave
  7. In the resulting popup, check the platform-specific links
  8. Confirm the URLs are https://laptop-updates-staging.brave.com/download/desktop/direct/osx/release/APX606, https://laptop-updates-staging.brave.com/download/desktop/direct/osxarm64/release/APX606 and https://laptop-updates-staging.brave.com/download/APX606

Android

Pre-requisite: Custom (internal) Brave nightly build on Android (request from Android team)

  1. Visit staging.brave.com/rogan using Chrome
  2. Click the Download button which in turn opens Google Play Store
  3. Background the Google Play Store
  4. Install the custom build
  5. Once installed, check brave://local-state local-state for correct refcode for the page you visited
  6. Simultaneously, when you launch, check for Referrer log in Android Studio and verify the urpc=<CODE> matches with what you have in brave://local-state