electerious/ackee-tracker

Warning fills logs

Closed this issue · 2 comments

rc1 commented

Hello.

I'm building server side rendered apps with Next.js. My logs get filled with: "Ackee is not executing automatically because you are using it in an environment without a window object'". It would be great if this was removed or only logged once.

Thanks

console.warn('Ackee is not executing automatically because you are using it in an environment without a `window` object')

Makes sense. PR welcome!

Done 😊 Will be part of the next release.