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));
}
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));
}
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 ) ) ; }
analytics helper functions
analytics helper functions