I had setup google spreadsheets to track when someone used one of my autoInstallers. I ended up using goo.gl to shorten the url’s. I noticed that goo.gl also tracks clicks on your shortend link!
-
Create a google account if you do not already have one.
-
go to http://goo.gl
-
Make up a fake link to shorten
-
Add this to your code and paste in your shortened link
If you use AutoGist’s Auto Install:
function GetProject()
http.request("http://goo.gl/xxxxxx",function() end) --add this line under GetProject
For any other code you share on the forum:
if not readLocalData("download_counter") then
http.request("http://goo.gl/xxxxxx",function() end)
saveLocalData("download_counter",true)
end
Pretty neat huh?