Skip to content

Mask the ids from the urls when I'm tracking pages #446

@dribeir0

Description

@dribeir0

For support questions, please consider using Gitter - Chat

I'm submitting a ...

  • bug report

  • [ X ] feature request

  • question about the decisions made in the repository

  • What is the expected behavior?
    As a user, I should mask the ids from the urls when I'm tracking pages

  • What is the motivation / use case for changing the behavior?
    Right now, the Page tracking settings only supports hiding the ids, which makes difficult to differentiate the list url from the detail url
    Example:
    Without masking
    list - trade/multi-quote
    detail - trade/multi-quote/1234

    With pageTracking: {clearIds: true}
    list - trade/multi-quote
    detail - trade/multi-quote

    With feature request pageTracking: {maskIds: true}
    list - trade/multi-quote
    detail - trade/multi-quote/XXXX

  • Environment:
    Angular CLI: 13.0.4
    Node: 14.19.0
    Package Manager: npm 6.14.16
    OS: darwin x64

Angular: 13.0.3
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, material, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1300.4
@angular-devkit/build-angular 13.0.4
@angular-devkit/core 13.0.4
@angular-devkit/schematics 13.0.4
@angular/cli 13.0.4
@schematics/angular 13.0.4
ng-packagr 13.0.8
rxjs 7.4.0
typescript 4.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions