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

Can't get web events to flow into Segment #38

Closed
QoLTech opened this issue Nov 8, 2023 · 2 comments
Closed

Can't get web events to flow into Segment #38

QoLTech opened this issue Nov 8, 2023 · 2 comments

Comments

@QoLTech
Copy link

QoLTech commented Nov 8, 2023

Is there any additional configuration required for web to work? I am not seeing any lifecycle, identify, track, or screen calls making it into Segment. I am using the debugger for my source and nothing shows up when it used to show up instantly. I am manually calling identify and track and I have added the ScreenObserver() to observe my routes and automatically send screen() events. This all works for my iOS and Android sources, but not my web source. I've tested this locally and after deploying to my host with the URL configured in Segment with the same results.

I've installed the package by adding it to pubspec and I've imported the library in my class and I'm calling createClient as so with my web source write key.

segment = createClient( Configuration( writeKey, collectDeviceId: true, trackApplicationLifecycleEvents: true, trackDeeplinks: true, debug: true, ), );

@QoLTech
Copy link
Author

QoLTech commented Nov 9, 2023

I was able to get events to flow into Segment! I tested the example app in this repo and it set events immediately. I eventually removed trackDeeplinks from my createClient and that got it to work.

There should probably be documentation explaining this doesn't work or a bug created if it's not intended.

@edsonjab
Copy link
Contributor

edsonjab commented Nov 9, 2023

Hi @QoLTech thank you for your report, we start looking into this.

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

3 participants