Skip to content

Add method to force heartbeat ping to Javascript API  #14100

@pimlottc-gov

Description

@pimlottc-gov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions