My users can embed an iframe from my site on their sites. I have Piwik working well and it tracks each time the iframe is loaded, but I really need to know which website is loading it.
Is it possible to set the Referrer to the page that loaded the iframe? I'm using the js tracking API and all Piwik code is inside my iframe.
I was hoping I would be able to do something like this from within the iframe:
var _paq = _paq || [];
_paq.push(["setReferrerUrl", document.referrer]);
_paq.push(["trackPageView"]);
Really I want my boss to be able to login to Piwik and see a list of external URL's that included our iframe code over the last day.