whole_func_string: function registerAction(resource) {
      return client.sendCommand({
          id: Lime.Guid(),
          method: Lime.CommandMethod.SET,
          type: 'application/vnd.iris.eventTrack+json',
          uri: '/event-track',
          resource: resource
      })
          .catch(e => console.log(e));
  }
func_code_string: function registerAction(resource) {
      return client.sendCommand({
          id: Lime.Guid(),
          method: Lime.CommandMethod.SET,
          type: 'application/vnd.iris.eventTrack+json',
          uri: '/event-track',
          resource: resource
      })
          .catch(e => console.log(e));
  }
func_documentation_string: analytics helper functions