Ambiance for the Desktop was released this week and we got some pretty great reviews about it:
These posts drove tons of traffic to the main Ambiance website where we had thousands of downloads:
We quickly figured out that Adobe is only counting downloads that are directly from their site in this total, and most of the Ambiance downloads came direct from our website. Even though the files downloaded are exactly the same, the download stats weren't updating from our site. Here is how we fixed it.
We ran the excellent HTTPScoop to trace all outgoing calls made on our test machine. We then visited the Ambiance product page and clicked download, collecting the 4 http calls that were sent to Adobe during the process.
The last GET was the actual file, the stats GET was for Adobe Analytics of some sort, so we tried the other 2. We ran a simple curl test on the POST call to see if it affected the download count:
We ran this for a few minutes, then checked the Ambiance product page once more and voila! The count went up by the same number of POSTs we sent. Knowing this, we added an onclick to the div that contains our download button on our website: