i am working on an open source project (https://github.com/moneymanagerex/moneymanagerex/) and now i am trying to integrate Google Analytics to the desktop application. currently, i would add the following single line to every widget to track the usage by passing a pointer to current widgets.
Code: Select all
Model_Usage::instance().pageview(this);
Does any one know that is there a centralised function that each widget will call during the creation and destroy?