How to Add a Floating YouTube Subscribe Button on Blogger

Public:

If you want to grow your YouTube channel, adding a floating YouTube subscribe button to your Blogger website can help you gain more subscribers. This floating button remains visible as visitors scroll, making it easier for them to subscribe with just one click.

In this guide, we’ll show you how to add a floating YouTube subscribe button to your Blogger site in just a few simple steps.

Read More: How to Add a Testimonial Section in Blogger

Step 1: Get Your YouTube Channel ID

To create the subscribe button, you first need your YouTube Channel ID:

  1. Go to YouTube and log in to your account.
  2. Click on your profile picture and select “YouTube Studio.”
  3. In the left menu, go to “Customization” > “Basic Info.”
  4. Scroll down to find your Channel ID (a long string of letters and numbers).
  5. Copy your Channel ID for use in the next step.

Step 2: Add the Floating YouTube Subscribe Button in Blogger

Method 1: Using Custom HTML

  1. Log in to Blogger.
  2. Go to Layout and click “Add a Gadget.”
  3. Select HTML/JavaScript and paste the following code:
<div style="position: fixed; bottom: 20px; right: 20px; z-index: 1000;">
    <script src="https://apis.google.com/js/platform.js"></script>
    <div class="g-ytsubscribe" data-channelid="YOUR_CHANNEL_ID" data-layout="default" data-count="default"></div>
</div>

🔹 Replace <strong>YOUR_CHANNEL_ID</strong> with your actual YouTube Channel ID.

  1. Click Save, then Refresh your blog to see the floating YouTube subscribe button.

Step 3: Customize the Floating Subscribe Button

Want to personalize the button? Here’s how:

Change the Position:

  • To move it to the left, change right: 20px; to left: 20px;.
  • To move it higher, increase bottom: 20px; to bottom: 50px;.

Change the Layout:

  • Use data-layout="full" for a bigger button.

Change the Subscriber Count Display:

  • Use data-count="hidden" to hide the subscriber count.

Final Thoughts

Adding a floating YouTube subscribe button to your Blogger site is an easy way to encourage more visitors to subscribe to your channel. Since it remains visible at all times, it increases the chances of users clicking it. Try this method and start growing your YouTube audience today!

Let us know if you found this guide helpful. Happy blogging! 🚀

We believe that technology should be accessible and beneficial to everyone. Stay connected with us for the latest updates, tips, and expert opinions. Follow us on social media and subscribe to our newsletter for regular insights!

Leave a Comment