Adding Piano to your site
Piano can be deployed in several ways, but it is up to you how best to utilize our platform.
If you are using Paywall or Applause, you will use the “Embed code” that we give you onto your website. Piano will only work on pages that have the Piano code embedded. You have a couple options for embedding the code:
1) I want Piano to protect my entire site
For this option – you’ll need to past the code into your head tag. Your website has an HTML header (head tag) that appears on each webpage. Chances are you are using a website builder or a CMS to create your site. If you are unsure how to embed the code into the head tag of your site, we recommend Googling the query, “embed code into head tag on [your website builder or CMS],” to find instructions. Many sites, like Squarespace, have an area in settings where you can “inject code” – this is what you are looking for.
2) Piano will protect a small section or just one page of my site
Here you’ll want to embed the code in the body of the pages you want to protect. Piano can only track users when they land on a page with the embed code, so you may need to talk to a developer and get advice on how to add code to a specific page. Some site builders will allow you to inject code
WordPress plugin v3.0
If you would like to associate the Piano paywall with tags for your posts or pages, then we recommend using the Piano Wordpress plugin (you can download it here). To use the WordPress plugin, you will still need to sign up for a Piano account. While you will have to customize a few settings within WordPress, you will manage paywall options and review transaction data on your Piano Publisher Dashboard.
Popular Site-Builder and CMS tutorials
Piano has partnered with the video hosting provider Brightcove to allow you to sell access to videos! If you are currently using Brightcove, or would like to find a solution to sell videos online, read more about selling videos with Piano here.
Are you a developer looking for the flexibility and security of the Piano API? Check out our API Docs. If you want to learn more about how the API works, but you’re not a developer, take a look at our article – Understanding the API.