Update of visitors doesn't work
Opened this issue · 0 comments
msvihra commented
Update of visitors in REDIS uses $LaVisitorId
but LA doesnt print visitor ID into this cookie.
This changed and visitor uses cookie $LaVisitorId_hash
. Hash is calculated:
getDomainHash: function () {
return this.b64EncodeStringWithUnicode(this.getServerDomain_()).replace(/[+=\/]/g, '');
},
Where this.getServerDomain_
is installation domain. This should be static, but we still need to change variable in NGINX config.
Possible solution will be to automate this hash generation through container provision or communicate with LA devel team to modify bus.html to print visitor_ID as argument in URL (similar to Cloud usage)