In https://github.com/Skookum/nodealytics/blob/6a7817101695720f86bc0149acc7ce00d87096a0/lib/main.js#L139 it firsts checks if cookie values are in the options object and only when they are not found it generates new.
But there is no way to set these values to the options object. It isn't exported and utmcc property is not used anywhere else.
So simple solution would be just to add exports.options = options but ideally I'd like something where I could just pass in the request object and it would figure it out from the headers.
I can provide pull request for this.
In https://github.com/Skookum/nodealytics/blob/6a7817101695720f86bc0149acc7ce00d87096a0/lib/main.js#L139 it firsts checks if cookie values are in the options object and only when they are not found it generates new.
But there is no way to set these values to the options object. It isn't exported and
utmccproperty is not used anywhere else.So simple solution would be just to add
exports.options = optionsbut ideally I'd like something where I could just pass in the request object and it would figure it out from the headers.I can provide pull request for this.