Skip to content

[Feature] Enable a callback to obtain the pageName as part of the analytics #1986

Open

Description

Suggested approach would be to move (or duplicate) the IValueCallback capability to the analytics extension

/**
* Value Callbacks configuration
*/
export interface IValueCallback {
/**
* Function to override the default pageName capturing behavior.
*/
pageName?: () => string;

This would enable a callback for SPA applications to programmatically derive the current page name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions