Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't track screen views automatically by default #19

Open
brianjd opened this issue Feb 23, 2017 · 3 comments
Open

Don't track screen views automatically by default #19

brianjd opened this issue Feb 23, 2017 · 3 comments

Comments

@brianjd
Copy link

brianjd commented Feb 23, 2017

I believe this can prove to be problematic depending on the navigation solution being used.

@idris
Copy link
Contributor

idris commented Jul 27, 2017

Yes, the setup method should accept a Map/Dictionary of configuration options:

{
  flushAt?: int = 1,
  shouldUseLocationServices?: boolean = true,
  recordScreenViews?: boolean = true,
  trackApplicationLifecycleEvents?: boolean = true,
}

@sunnymopada
Copy link

@charlires Any update on this?

@roycclu
Copy link

roycclu commented Aug 5, 2018

@SanyasiraoM
@charlires
Looks like no response...
For now, I'm going in the SegmentAnalytics.m file and changing line 17 manually:

    configuration.recordScreenViews = YES;

to

    configuration.recordScreenViews = NO;

Then patch-package to keep this configuration on every install. Not great. But does the job reasonably well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants