Skip to content

Auto-detect Lytics JsTag in chrome extension. #82

Closed

Description

@anupsingh244

🤖 Auto-Detection Feature for Lytics JS Tag

User Story

As a developer, I want the extension to automatically detect Lytics JS tag on domains so I can start monitoring without manual configuration.

Requirements

  • Automatically detect Lytics JS tag presence on visited domains
  • Show visual indicator when auto-detection is active
  • Auto-enable monitoring for high-confidence detections
  • Persist detected domains across sessions

Detection Methods

  • Network Analysis: Monitor Lytics API requests (/api/tag/, /api/personalize/)
  • DOM Scanning: Check for window.jstag object and script tags
  • Confidence Scoring: 90% for direct jstag, 70% for scripts, 50% for API calls
  • Auto-Enable: Automatically enable domains with ≥80% confidence

Acceptance Criteria

  • Detects window.jstag object with high confidence
  • Identifies Lytics script tags in DOM
  • Analyzes network requests for Lytics patterns
  • Shows visual indicator in extension UI
  • Auto-enables high-confidence domains
  • Completes detection within 2-3 seconds
  • No false positives on common sites

Technical Components

  • Background script for network analysis
  • Content script for DOM scanning
  • Storage layer for persistence
  • UI indicator component

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions