add analytics referral tracking + version increment