Web publishers and content creators are experimenting with a “cash-less” payment model where people can use social networks to pay for premium products like ebooks, songs, discount coupons, research reports, etc.
Say you have written a short ebook on a particular topic. Now instead of asking 99¢ for a copy, you can let anyone download your ebook either in exchange of a tweet, a like on Facebook or a +1 on Google Plus. The buyer makes a public recommendation of your product on a social network and you reward them with a free copy.
Before getting into the implementation, click here for a demo (screenshot). You can perform a Like, do a +1 or post a tweet and that action will unlock the link to download a PDF file.Unlock Premium Content with a Tweet, Like or +1
To integrate social payments into your website, copy everything between the <body> tags from the snippet below and add it your website template. Also modify the line blocks 13 (file URL), 56 (text of the tweet), 61 (URL to +1) & 65 (your Facebook Page).
Here’s how the code works:
When the user clicks on any of the social buttons, the event is captured and then, using simple JavaScript, the link to download the file is added in place of the button. If the user open the tweet dialog but decides not to post one, that “cancel” action won’t unlock the secret link.
There are ready made solutions available, Pay with a Tweet is a popular one, but they require too many steps for the user to complete the transaction. Here, it’s as easy as clicking the regular “tweet” or “like” button.
Ads by GoogleNY Photography Institute NYIP.edu
Learn Photography at Your Own Pace From Home. Free Course Catalog!
Learn Photography at Your Own Pace From Home. Free Course Catalog!
Also, anyone with technical skills can easily discover the download link from your HTML source code but most web users aren’t likely to do that.
Written by follow him on the social web or sign up for the email newsletterfor your daily dose of how-to guides and video tutorials.
, personal technology columnist and founder of Digital Inspiration. You can
0 comments:
Post a Comment