SSWConsulting / SSWConsulting/SSW.Rules

✨ Telemetry Proxy - Proxy client-side AppInsights tracking to avoid ad blockers

Open
#2,318 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

02-medium YakShaver
Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

Requested by: @Freego1783 via YakShaver.ai 🦬
cc: @Aibono1225, @Freego1783, @Marxoz, @PothieuG

Hi Team!

  🟥  Watch the video (1 min 54 sec)

Pain

Client-side AppInsights tracking calls in the Rules V3 (TinaCMS) staging environment are being blocked by common ad/privacy blockers, resulting in lost telemetry. This PBI proposes adding an application-level API route to proxy client-side telemetry events so that tracking is sent server-side by our application instead of directly by the AppInsights client package. This would improve telemetry reliability while requiring consideration of implementation effort and legal/privacy implications, including anonymisation and limiting personal data collection.

Acceptance Criteria
  1. Client-side telemetry events are sent to an internal API endpoint instead of directly to AppInsights.
  2. The internal API successfully forwards telemetry data to AppInsights from the server.
  3. Telemetry events proxied through the API are no longer blocked by common ad/privacy blockers.
  4. Server-side tracking continues to function unchanged.
  5. Only anonymised and strictly necessary data is forwarded to AppInsights to address legal/privacy concerns.
  6. Configuration or code changes are documented for future maintenance.
  7. The solution is implemented only for client-side tracking; no regression is introduced in existing functionality.
Screenshot

Screenshot
Figure: Client-side tracking calls blocked by ad blocker

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Rules V3 client-side AppInsights integration and the application API entry points used by TinaCMS. Define the proxy payload and privacy filtering before implementing the route; done means client events reach AppInsights through the internal endpoint, existing server-side tracking is unchanged, blockers no longer prevent delivery, and the configuration is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
api, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.