Analytics from config

Widgets are generated from the analytics section of the config JSON.