YouTube has offered up a new bit of web code which means you can add a “subscribe” button directly onto your own website.
In other words, visitors to your site can click on the button to sign up to your YouTube channel and automatically receive updates to your videos whenever they log in. Until now, viewers would have had to go to your channel on YouTube itself to do this.
The code’s very simple though of course you’ll need to know where and how to paste it into your own website’s code. Here goes (and remember to change “Your Channel Name Here” for your actual YouTube channel name!):-
<div class=”g-ytsubscribe” data-channel=”Your Channel Name Here“>
There’s more info at https://developers.google.com/youtube/youtube_subscribe_button