save referal link on send_to_analysis
add specs
fix method
Merge pull request #731 from adrianob/save_referal_link

save referal link on send_to_analysis