Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event tracking with trackEvent: a value of 0 (zero) is not recorded #11204

Closed
aj-justo opened this issue Jan 17, 2017 · 2 comments
Closed

Event tracking with trackEvent: a value of 0 (zero) is not recorded #11204

aj-justo opened this issue Jan 17, 2017 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@aj-justo
Copy link

aj-justo commented Jan 17, 2017

I am manually tracking events with this code:
_paq.push(['trackEvent', 'docs', 'feedback', document.title, 0]);

The last argument, value, is either 1 or 0. Anything > 0 gets recorded correctly, for instance, 0.1, but 0 is not. I get a "-" in the table of events.

Related to this, I tried passing string values instead ("yes", "no"), and they do not get recorded at all (I always see a "-" in the events table).

I cannot find any details on the supported types/ranges for the value argument, can anybody please give me a clue as to how this exactly works or point me to the documentation about it?

@mattab
Copy link
Member

mattab commented Feb 18, 2017

Thanks for the bug report @ajweb

@tsteur
Copy link
Member

tsteur commented Dec 5, 2018

this was fixed in #13537

@tsteur tsteur closed this as completed Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants