Fixes DOC-1435: add analytics API to preface
Merge pull request #80 from edx/ahodges/DOC1435

Fixes DOC-1435: add analytics API to preface