MisterPhilip / omnibug

Omnibug is an extension for Firefox and most Chromium-based browsers to ease implementing and debugging digital marketing tools.
https://omnibug.io/
MIT License
93 stars 42 forks source link

Number result and not boolean (true & false) when use click tracking #232

Closed SerbanCiprian closed 9 months ago

SerbanCiprian commented 9 months ago

Describe the bug We want the results of custom dimension 38 to be boolean with "true" and "false" not with number "0" and "1". And if look at the pageview results we have "true" and "false" and not number results. And we want consistency and results to be boolean with true and false.

Screenshots

Screenshot 2023-09-20 at 13 09 09 Screenshot 2023-09-20 at 13 09 55

Desktop (please complete the following information):

MisterPhilip commented 9 months ago

Can you provide an example page that this can be replicated on? If you look in the network tab, does it show true/false or 0/1?

MisterPhilip commented 9 months ago

Closing since no more detail has been provided.

If this is for Universal Analytics, this is caused by Google's library, not Omnibug. You would need to change your code to send a string version of true/false instead of a boolean. Example below: image

This returns this in the network tab: image

And thus this in Omnibug: image