My site is at ‘www.domain.com’ which is a dedicated server.
I host all images, css, and js on ‘cdn.domain.com’ which is amazon cloudfront
I’ve got piwik at ‘stats.domain.com’ on the same dedi server.
Is there a way to put piwik.js so it loads off the CDN ?
I assume this will require modification of the stats code …but I’m not sure what to edit.
Can someone explain the proper way to do this? I’ve placed piwik.js on a CDN & updated the script on my website to point to it. I’m no longer tracking visits.
Wow, excellent work. Gave the correct answer, inside of 5 mins, and beat me to my next question (async). That’s a hat trick. I just tried this and it works. Thank you!