Closed jamesvclements closed 6 months ago
Does track still run when NODE_ENV === development? I'm wondering if I should wrap my track calls in process.env.NODE_ENV === checks, or if this is handled automatically by the analytics library.
track
NODE_ENV === development
process.env.NODE_ENV ===
Hey @jamesvclements !
It "runs" during development as well, you should see a console.log. We're not sending the event to the server during development
console.log
Does
track
still run whenNODE_ENV === development
? I'm wondering if I should wrap mytrack
calls inprocess.env.NODE_ENV ===
checks, or if this is handled automatically by the analytics library.