Forum Academy Marketplace Showcase Pricing Features

Read URL of parent window of Iframe

Hey guys,

I would like to iframe my bubble app in some websites. I would like to read the url of the “parent” page for 2 reasons:

1 - Get codes (to affiliate program);
2 - Personalize the theme of my application based on the link that redirects the user to the “parent page”.

Does anyone knows how to read and use the “parent” website url in my bubble app?

Thanks for any help