You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"location is not defined" errir given when trying to do server side tracking, as the location object is not there in nodejs, but the module expects it.
Expected behavior
don't make location object a requirement in the environment. I have tried passing my own URL and DOMAIN, but it still calls for the getConfig() function which expects the location.href and location.hostname
Steps to reproduce
so any server side tracking in nodeJS
The text was updated successfully, but these errors were encountered:
I don't think this module would work at all in Node.js... It uses a lot of browser APIs, and sends data using XMLHttpRequest which doesn't work in Node either.
Versions
0.3.8
Describe the bug
"location is not defined" errir given when trying to do server side tracking, as the location object is not there in nodejs, but the module expects it.
Expected behavior
don't make location object a requirement in the environment. I have tried passing my own URL and DOMAIN, but it still calls for the getConfig() function which expects the location.href and location.hostname
Steps to reproduce
so any server side tracking in nodeJS
The text was updated successfully, but these errors were encountered: