Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

location is not defined #56

@pixelpaulaus

Description

@pixelpaulaus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions