You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to not have to modify the tracker for each extension variable, and not be limited by the format of string, int and float, it would be interesting to be able to set callbacks for the variable/extension name.
For example, I'm using geopoints and I need to send them in the json object format, so I had to modify the tracker so, when it deserialized the data from the csv, it transforms it into a json object like this:
So being able to manage this in a callback from the tracker could be the perfect solution to not have to modify the internals of the tracker. With this approach I could do something like:
This is just an example that could be used to implement custom extensions such as the GeoJSON one (as it has been described here that it should go in GeoJSON format, not string).
Thanks ahead,
Víctor
The text was updated successfully, but these errors were encountered:
In order to not have to modify the tracker for each extension variable, and not be limited by the format of string, int and float, it would be interesting to be able to set callbacks for the variable/extension name.
For example, I'm using geopoints and I need to send them in the json object format, so I had to modify the tracker so, when it deserialized the data from the csv, it transforms it into a json object like this:
So being able to manage this in a callback from the tracker could be the perfect solution to not have to modify the internals of the tracker. With this approach I could do something like:
This is just an example that could be used to implement custom extensions such as the GeoJSON one (as it has been described here that it should go in GeoJSON format, not string).
Thanks ahead,
Víctor
The text was updated successfully, but these errors were encountered: