HW3 — Module 08: Configuration API

This page loads collector-v7.js, a revealing-module IIFE that exposes only four public methods: init(), track(), set(), and identify(). Nothing collects until init() is called.

1. Initialize

(1.0 = 100% of sessions)
Not initialized yet.

2. Track custom events

Calling track() before init() is a no-op with a console warning — try it before initializing above.

3. Set persistent properties

set() attaches a key/value pair to every future beacon — the pageview beacon, every track() call, everything.

4. Identify user

Live Sent Log

Nothing sent yet.

← Back to collector home