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

email property doesn't populate profile #12

Open
johnstonmatt opened this issue May 17, 2017 · 2 comments
Open

email property doesn't populate profile #12

johnstonmatt opened this issue May 17, 2017 · 2 comments

Comments

@johnstonmatt
Copy link

No description provided.

@johncpang
Copy link

I found the same problem. Here is my solution:

(I copied the "WTracker" folder into my source)

Open "WTracker.m" and change to this code:

// Add visitors properties
NSDictionary* prop = self.visitor.properties;
for (NSString* k in prop) {
  [queryItems addObject:[NSURLQueryItem queryItemWithName:[NSString stringWithFormat:@"cv_%@", k]
                                                        value:[prop objectForKey:k]]];
}

the stringWithFormat should be cv_%@ rather than ce_%@

I got this result from here:
https://docs.woopra.com/v2.4/reference#track-identify

@johncpang
Copy link

If you check the source code of Android SDK, you will find it use cv_ instead of ce_ when populating visitor properties.

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

2 participants