Trace URL's that link to my iframe/widget
I have created a widget.html page with, for example, a "Powered by Example.com" box/widget. And I have an HTML iframe that links to that specific page (widget.html) on my site.
I share that iframe code with website owners who want to use my widget on their sites.
I want to be able to see every single site that uses my iframe. I would prefer a code that creates a txt file or even a MySQL Table with all websites URLs that use my widget on their websites.
P.S. I'm not sure if an iframe is the best way to link widgets off my site, but I'm open for your suggestions. Thanks in advance.Автор: user3184573 Источник Размещён: 08.11.2019 11:01
- use jquery
- then load a request page throgh jquery like :
- and send a request uri parameter to it
- you will find the current url using the widget and alos you can get the parameter