title: Recommended way to send details to the client for a web analytics service
body: <p>When creating a service like Google Analytics or StatCounter, I want to do it a little bit different in the data storage part:</p>
  
  <ol>
  <li>A user visits my client's website.</li>
  <li>JS code or 1 pixel image is downloaded from my server.</li>
  <li>Request sent to my server, where the data is processed.</li>
  <li>Things like country, returning customer, bounce rate, etc are calculated.  </li>
  <li><strong>Instead of storing this data in my server, I want to store it in the client's server.</strong></li>
  </ol>
  
  <p>The client is an individual or business who is using my "service" for web analytics of their website.</p>
  
  <p>Assuming that they are prepared to create a db schema that I choose, what is the recommended way to send the data to them to store?</p>
  
  <p>The only thing I can think of is, asking them to give me a URL in their server, to which I will POST a JSON string, which they can store or do whatever they want.</p>
  
  <p>Apart from HTTP POST, are their any other choices I have to send the data to them?</p>