@jenil_121/ga-bridge
v1.0.4
Published
Twinalyze GA Bridge (GA → Twinalyze event forwarding)
Maintainers
Readme
Twinalyze GA Bridge
A lightweight bridge to forward Google Analytics (gtag.js) events to Twinalyze automatically.
This allows you to use Google Analytics as the source of truth and mirror the same events into Twinalyze without modifying existing tracking code.
🚀 Features
- Forward GA events (
gtag('event', ...)) to Twinalyze - Uses GA callback-based forwarding
- Ensures:
- If GA event succeeds → Twinalyze receives it
- If GA event fails → Twinalyze does NOT receive it
- No fallback (strict dependency on GA)
- Automatic installation
- Debug mode support
- Adds
__from_bridge: trueflag to all forwarded events
📦 Installation
CDN (Recommended)
<script src="https://cdn.jsdelivr.net/npm/@jenil_121/[email protected]/dist/twinalyze-ga-bridge.min.js"></script>