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

Wootric shouldn't by default, send an Event name to Segment #18

Open
dube-mike opened this issue Jun 11, 2021 · 0 comments
Open

Wootric shouldn't by default, send an Event name to Segment #18

dube-mike opened this issue Jun 11, 2021 · 0 comments

Comments

@dube-mike
Copy link

This all stared when it became obvious, on our end that users opting into our Wootric surveys went down significantly after a pod update.

This is because, after 'Segment-Wootric', '0.2.1' the SDK's behaviour changed automatically and by default the event name is sent.

See WTRWootricIntegration.m line 45

- (void)track:(SEGTrackPayload *)payload {
  NSDictionary *properties = payload.properties;
  NSString *eventName = payload.event;
  NSString *language = [properties objectForKey:@"language"];

  if (language) {
    [Wootric setCustomLanguage:language];
  }

  [Wootric setEventName:eventName];
}

This automatically started causing issues on our end as we saw a massive fall in users who participated in our surveys.

92602382-5b681300-f2ae-11ea-8d8c-8b34751fb151

This is definitely an issue in the SDK, by default, it shouldn't be sending a an event name.

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

1 participant