if statement - How to automatically track when a bit.ly link has been clicked x times -
i'm looking running promotion users tweet custom bit.ly (or other url link service) link , have link clicked others x times (say, 3 times) automatically have piece of content (think pdf) unlocked them.
i'm @ bit of loss how accomplish this. thinking of using ifttt.com, don't track how many times bit.ly link has been clicked.
so steps following:
- generate new unique link given webpage
- track when link has been clicked 3 times
- automatically send user email when link has been clicked 3 times link unlocked content
anyone have ideas here? can think of scraping bit.ly's stat page periodically , seeing how link has been clicked, seems potentially quite slow , resource intensive.
you host own url shortener take care of counting clicks, redirecting bit.ly/whatever, emailing, etc.
for instance: http://yourls.org/
edit: well, bit.ly seems have pretty nice api. check http://dev.bitly.com/link_metrics.html#v3_link_clicks
Comments
Post a Comment