Skip to content

Tracker custom method missing? #115

@Votok

Description

@Votok

Hey @EmmanuelRoux!
I am not able to find any way to call a custom method on the tracker that would allow internally call _paq.push with custom params.

For example to manually capture heatmap the recommended command is
_paq.push(['HeatmapSessionRecording::captureInitialDom', 18])

Would adding a tracker method like this help?
callCustomMethod(customMethodName: string, ...args: unknown[]): void { this.delegate.push([customMethodName, ...args]); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions