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
There is no way to manually force a heartbeat ping request using the Javascript Tracking Client API. This is possible in the PHP API via doPing() and in the HTTP API by setting the ping= parameter.
Forcing a ping can be desirable after calling a configuration setter, like setCustomVariable in order for it to be updated immediately. Otherwise, the updated value is not sent to the server until the next tracking action.
The text was updated successfully, but these errors were encountered:
* add ping method to JS api
Fixes#14100
* update minified version
* mention new ping method
* fix test which doesn't like a newline at the end
* fix test which doesn't like a newline at the end
mattab
added
the
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
label
Jun 29, 2019
There is no way to manually force a heartbeat ping request using the Javascript Tracking Client API. This is possible in the PHP API via doPing() and in the HTTP API by setting the
ping=
parameter.Forcing a ping can be desirable after calling a configuration setter, like
setCustomVariable
in order for it to be updated immediately. Otherwise, the updated value is not sent to the server until the next tracking action.The text was updated successfully, but these errors were encountered: