Added referrer code

https://swrvedev.jira.com/browse/SWRVE-4019

Private changes:
https://github.com/Swrve/swrve-sdk/pull/762

@Sergio-Mira 
:+1: