Can I use ReferralHero inside an iframe?
Yes, you can. However, there are a couple of things to keep in mind.
Our widgets read the URL of the page looking for special parameters to attribute referrals. The script inside iframes can read the URL of the parent page only if the iframe AND the parent page are on the same domain.
These means that if you are using an iframe, make sure that the page lives on the same domain as the main page.
Also, sharing on Whatsapp and Facebook Messenger might not work.
Reach out to us if you are unsure how to do it.