start adding analytics attributes to a dict for easy display in the template