code: function renderPage(page) {
    if (!page) return '';
  
    var args = [];
  
    if (page.category) args.push(page.category);
    if (page.name) args.push(page.name);
    if (page.properties) args.push(page.properties);
  
    // eslint-disable-next-line no-restricted-globals
    var res = 'analytics.page(' + map(JSON.stringify, args).join(', ') + ');';
  
    return res;
  }
docs: Handlebars helper which will render the window.analytics.page call.
  
  By default just render the empty call, adding whatever arguments are
  passed in explicitly.
  
  @param {Object|Boolean} page options (name, category, properties)
  @return {String}