matomo-org / matomo-sdk-ios

Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift
MIT License
390 stars 164 forks source link

Request a HTTP 204 code when tracking instead of a gif image #55

Closed tsteur closed 9 years ago

tsteur commented 9 years ago

See piwik/piwik#6577

Not sure if useful for iOS SDK or not but wanted to mention it. By sending URL parameter &send_image=0 you would receive a HTTP 204 response code instead of a GIF image which is slightly faster.

mattiaslevin commented 9 years ago

This is a good idea. I will update add it to the SDK as the default behaviour.

Cousin-Hub commented 9 years ago

Have you tried? Because IOS does not handle correctly 204 response.

mattiaslevin commented 9 years ago

Fixed.