kissmetrics / kissmetrics-ios-mac-os-x-library Goto Github PK
View Code? Open in Web Editor NEWUse the new KISSmetrics iOS/OS X Library to track your mobile/desktop app metrics
Home Page: http://www.kissmetrics.com
License: Apache License 2.0
Use the new KISSmetrics iOS/OS X Library to track your mobile/desktop app metrics
Home Page: http://www.kissmetrics.com
License: Apache License 2.0
** This repository is now deprecated, please see https://github.com/kissmetrics/KISSmetrics/releases/tag/v1.0.0 for the final versions of all included clients ** KISSmetrics is different from other analytics platforms due to a combination of three key features. We focus on funnels and conversions and make them easy to track and interpret, use people as the basic unit of measure, and support tracking of highly-flexible custom data through our simple API. Find out more at http://www.kissmetrics.com * ruby client has moved to https://github.com/kissmetrics/km * php client has moved to https://github.com/kissmetrics/kissmetrics-php * python client has moved to https://github.com/kissmetrics/py-KISSmetrics * perl client is complete with crontab option (untested)
I would like to add the most recent release (v1.1.3
) to CocoaPods (see CocoaPods/Specs#2385), but the v1.0.0
CocoaPods version uses a different repository, which has a v1.0.0
tag defined.
I don’t know if that tag is correct or not, but the ideal course of action to maintain the integrity of CocoaPods’ specs is to add a v1.0.0
tag to 004726b in this repository.
Is this possible?
Some of our logging requests are coming into connection:didReceiveResponse: with status code 502 (Bad Gateway).
Because they are not 200 or 304, they aren't removed from the sendQueue.
They never hit connection:didFailWithError: either.
KISSMetrics writes to the console "KISSMetricsAPI: INFO - Failure bad gateway" about 5 times per second as it continually sends out the same request each time it hits connectionDidFinishLoading:
I can add this project to https://github.com/CocoaPods/Specs once there is a tagged version.
Thanks!
There is a warning when trying to compile the API for iOS devices:
KISSMetricsAPI.m:517:129: Format specifies type 'unsigned long' but the argument has type 'NSUInteger' (aka 'unsigned int')
This is the easiest and full compatible fix I could think of:
diff --git i/KISSMetricsAPI.m w/KISSMetricsAPI.m
index e438e7e..a53da13 100755
--- i/KISSMetricsAPI.m
+++ w/KISSMetricsAPI.m
@@ -514,7 +514,7 @@ static KISSMetricsAPI *sharedAPI = nil;
NSString *escapedKey = [self urlEncode:stringKey];
if([escapedKey length] > 255)
{
- InfoLog(@"KISSMetricsAPI: WARNING - property key cannot longer than 255 characters. When URL escaped, your key is %lu characters long (the submitted value is %@, the URL escaped value is %@). Dropping property.", [escapedKey length], stringKey, escapedKey);
+ InfoLog(@"KISSMetricsAPI: WARNING - property key cannot longer than 255 characters. When URL escaped, your key is %lu characters long (the submitted value is %@, the URL escaped value is %@). Dropping property.", (unsigned long)[escapedKey length], stringKey, escapedKey);
continue;
}
I get errors when trying to ping the server with the following base url:
Changing it to
fixed the problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.