Unshorten shortened links when checking for referals