Question: does it track DataStore API usage?
Does this track DataStore API usage? My read of the code is that it doesn't; I can't see it overriding the datastore actions mapping anywhere, but I just wanted to confirm.
@MrkGrgsn , no, it doesn't
Thanks @gleb-rudenko. It would be neat if this extensions had a plugin interface so that other CKAN extensions that add actions can register those actions for GA tracking.
I'll work on it
Does anyone had chance to use it? It looks quite ok for me. Maybe, @gleb-rudenko , you should add little bit more details about you new function. And, if it supposed to be used by others, remove underscore from it's name PS i just thought about it, after merging your previous PR, so could you please create new one?
@smotornyuk I've used it with datastore_search action and it did send analytics data, however, it couldn't identify event label (el) which should be the value of resource_id I suppose. I think it is related to #39
I would make a PR for this so that it tries to use name_or_id or resource_id if id is unavailable.