Analytics & Data
Connect your analytics stack to capture learner behavior, track course engagement, and pipe learning data to your warehouse.
How Data Flows
Console Data
Access user and course data via the window.TI global object on any page.
Event Listeners
Subscribe to learning lifecycle events like course completions and quiz results.
Forward to Tools
Send captured events to your analytics platform, CDP, or data warehouse.
Accessing Console Data
The window.TI object exposes learner and content context on every page.
// Access learner data from the console
console.log(window.TI.currentUser);
// { id: "usr_123", email: "[email protected]", firstName: "Jane" }
console.log(window.TI.currentCourse);
// { id: "crs_456", title: "Intro to APIs", progress: 0.65 }Learning Event Listeners
Subscribe to DOM events dispatched during the learning lifecycle to forward data to your analytics provider.
// Listen for learning events
document.addEventListener('ti:course:completed', (event) => {
const { courseId, userId, completedAt } = event.detail;
// Forward to your analytics provider
analytics.track('Course Completed', {
courseId,
userId,
completedAt
});
});
// Available events:
// ti:course:completed
// ti:course:started
// ti:quiz:completed
// ti:page:viewedSupported Platforms
Google Analytics 4
AnalyticsTrack learner behavior, page views, and course completion funnels using GA4 events.
Segment
CDPRoute learning data to 300+ destinations via a single integration point.
Mixpanel
AnalyticsAnalyze learner engagement with product-style funnel and retention reports.
Amplitude
AnalyticsBehavioral analytics for understanding learning patterns and cohort performance.
Heap
AnalyticsAutocapture learner interactions without manual event instrumentation.
Snowflake
Data WarehousePipe learning data into your data warehouse for custom reporting and joins.
BigQuery
Data WarehouseStream events to Google BigQuery for large-scale analytics and ML.
Looker
BIBuild custom dashboards and reports from your learning data.