/** * By default, Goals in Matomo are defined as "matching" parts of the screen path or screen title. * In this case a conversion is logged automatically. In some situations, you may want to trigger * a conversion manually on other types of actions, for example: * when a user submits a form * when a user has stayed more than a given amount of time on the page * when a user does some interaction in your Android application * * @param idGoal id of goal as defined in matomo goal settings */ public Goal goal(int idGoal) { return new Goal(this, idGoal); }
/** * By default, Goals in Matomo are defined as "matching" parts of the screen path or screen title. * In this case a conversion is logged automatically. In some situations, you may want to trigger * a conversion manually on other types of actions, for example: * when a user submits a form * when a user has stayed more than a given amount of time on the page * when a user does some interaction in your Android application * * @param idGoal id of goal as defined in matomo goal settings */ public Goal goal(int idGoal) { return new Goal(this, idGoal); }