Like Jitsu? Give us a star on ⭐ GitHub!

πŸ“œ Server Configuration

πŸ‘©β€πŸ”¬ Extending Jitsu

Overview
Destination Extensions
API Specs

Jitsu Internals

Events Interception

Jitsu JS SDK could be configured to intercept events from third-party tracking systems. Currently, we support Google Analytics and Segment's Analytics.js.

Jitsu will intercept all events, transform them to an internal structure and pass further to the original destination. Jitsu initialization code must be executed (added into <head> section if tracking code is added directly) before intercepted tracking code (GA or Segment)

Only current version of GA Javascript API is supported. We do not support Legacy API (aka ga.js)

Event interceptors should be explicitly enabled with segment_hook or ga_hook parameter (please see Configuration Reference).

Intercept Google Analytics Events
Intercept Segment Event
eventN.init({
    key: "...",
    tracking_host: "....",
    ga_hook: true
});