Implement affiliate tracking in KISSmetrics

Part of https://github.com/cargomedia/sk/issues/559