title: How to POST data to Google Analytics with VB6
body: <p>We have an ancient VB6 component that needs Google Analytics tracking.  I am using the Internet Transfer Control to POST data via HTTP.  I cannot see my tracking data in the Google Analytics reports.  This leads me to believe that I cam calling POST incorrectly.</p>
  
  <p>I have already added Google Analytics tracking to a desktop .Net Application and can see that data so I know it works.</p>
  
  <p>I have a VB6 form with a button on it.  The button-click event executes:</p>
  
  <pre><code>Dim var1 As String
  var1 = "v=1&amp;tid=UA-00000000-1&amp;cid=123&amp;t=appview&amp;cd=VBScreen"
  Inet1.Execute "http://www.google-analytics.com/collect", "POST", var1
  </code></pre>
  
  <p>This doesn't return an error but no data can be seen in the Google Analytics reporting pages.  What am I going wrong?</p>
  
  <p>I do not need to use the Internet Transfer Control if there is some other simple way to do this.</p>
  
  <p>After Execute() is called, Inet1_StateChanged is fired and the state is icResponseCompleted.  Inet1.ResponseInfo == "" and Inet1.StillExecuting == False.</p>