Skip to content

screen_view events being auto logged regardless of ScreenTrackingService being provided #2604

Closed
@jackcw

Description

@jackcw

The screen_view events are being auto logged regardless of ScreenTrackingService being provided in the module. The issue I have is that the screen_view events are giving an identifiable screen class name and so I'm going to do it manually and so need to deactivate the auto logging ones.

Version info

Angular: 10.1.3

Firebase: 7.21.1

AngularFire: 6.0.3

How to reproduce these conditions

Steps to set up and reproduce

import { AngularFireAnalyticsModule } from '@angular/fire/analytics';

@NgModule({
  imports: [
    AngularFireModule.initializeApp(environment.firebase),
    AngularFireAnalyticsModule
  ],
  providers: []
})
export class AppModule { }

Expected behavior

No screen_view changes to show up unless ScreenTrackingService is provided.

Actual behavior

Each route change a screen_view event is logged

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