I want to create a very primitive mixpanel/kissmetrics/analytics clone.
Therefor I need to send data to a remote website for the purpose of logging it. It should send simple parameters like, foo=bar, foo2=bar2
How can I send data with javascript without being caught to cross domain policy?
Can you provide an example code?