Skip to main content
IntegrationData

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:viewed

Supported Platforms

Google Analytics 4

Analytics

Track learner behavior, page views, and course completion funnels using GA4 events.

Segment

CDP

Route learning data to 300+ destinations via a single integration point.

Mixpanel

Analytics

Analyze learner engagement with product-style funnel and retention reports.

Amplitude

Analytics

Behavioral analytics for understanding learning patterns and cohort performance.

Heap

Analytics

Autocapture learner interactions without manual event instrumentation.

Snowflake

Data Warehouse

Pipe learning data into your data warehouse for custom reporting and joins.

BigQuery

Data Warehouse

Stream events to Google BigQuery for large-scale analytics and ML.

Looker

BI

Build custom dashboards and reports from your learning data.

Related Resources