Sunday, 30 November 2014

How to Add a YouTube Subscribe Button to Your Site

There are three button designs you can choose from for your site. From left to right in the image above, you have the basic "default" button, the full layout that includes your YouTube channel's name and avatar image, and the same image but on a dark background.

Decide which design will suit your site best, then head to the YouTube Developer Tools page to grab the code required.

The Code


To generate the code you need to add a button to your site, simply head to the "Configure a button" section and fill in your channel's name. You then need to click on the two drop-down menus to decide the layout (button design) and theme (dark background or default.)

The code will automatically generate in the box to the right. If you copy and paste it to your site, you should end up with a live, embedded, click-able button like this:





Terms and Conditions
Finally, YouTube has stipulated some terms and conditions for using the shiny new buttons. You must show all of the button clearly, you can't incentivize clicking the subscribe button (i.e.,offering prizes) and you can't use the button to track user data.

Check out the YouTube Developer Tools page for the full rundown.

No comments:

Post a Comment