reimplemented kissmetrics