Move url shortening to BeaconHelper