by 01acheru · 7y ago · 0 comments
It was fairly trivial: instead of asking for the tracking script directly I put a small service of ours in front of it, so our website asked for foo.mycompany.com/stats.js that fetched the correct script and changed all URLs inside of it from mycomp.mytrack.com to foo.mycompany.com. Our service than acted as a proxy to mycomp.mytrack.com.
A simple solution that worked out for a while, lost by now, in a server, somewhere in Ireland...