Lviv

All work

Rewisoft · Nov 2024 — Feb 2025

Chrome extension for ad-campaign attribution

Manifest V3 extension that plugs a marketing-attribution SaaS into Facebook and TikTok ads managers, with locale-proof DOM integration and dual-account sessions.

Chrome extension for ad-campaign attribution: screenshot 1
Chrome extension for ad-campaign attribution: screenshot 2
Chrome extension for ad-campaign attribution: screenshot 3
Chrome extension for ad-campaign attribution: screenshot 4
Chrome extension for ad-campaign attribution: screenshot 5
Chrome extension for ad-campaign attribution: screenshot 6
Chrome extension for ad-campaign attribution: screenshot 7
Chrome extension for ad-campaign attribution: screenshot 8
Chrome extension for ad-campaign attribution: screenshot 9
Chrome extension for ad-campaign attribution: screenshot 10
1 / 10

Overview

A companion browser extension for a marketing-attribution SaaS. Performance marketers install it to see attribution data directly inside the ad platforms they already use. The extension detects supported ad-manager pages, injects content scripts and syncs with the user's account.

What I built

  • Popup UI (React + Vite + CSS Modules): sign-in, error states, active-plugin screen, shared/team account switcher
  • Background service worker that watches tab navigation and enables the extension only on supported domains
  • Content scripts for two ad platforms that locate campaign identifiers in the page and compute derived metrics (mathjs)
  • Session layer: tokens stored in chrome.storage.local, Axios interceptors with silent refresh on 401, and a second token pair for "shared" accounts
  • Packaging pipeline (vite build → zip) for Chrome Web Store submissions

Challenges

  • Ad-manager UIs are heavily localised and change often; I built the DOM lookup around a table of label translations for 50+ languages instead of brittle selectors
  • Manifest V3 constraints (no persistent background page) required moving state into storage and re-hydrating on wake-up