Generic Analytics Skinny Events

This module provides the skinny preset for the generic analytics adapter. With it, the adapter collects a small set of events, with only the fields that are typically useful for analytics, instead of full event payloads.

Including this module also includes the generic analytics adapter. Enable the preset with options.preset: 'skinny':

pbjs.enableAnalytics({
    provider: 'generic',
    options: {
        url: 'https://example.com/analytics',
        preset: 'skinny'
    }
});

See Skinny preset for the events and fields it collects.