How do I add a Pinterest Pin It button to my blog post?

Last updated: December 16, 2016

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

If your blog is hosted with HubSpot, refer to the following instructions to add a Pinterest button to your blog:

  • From your HubSpot Marketing account, navigate to Content > Blog.
  • Click More Tools from the left side menu > click Manage blog template.
  • If you are using a standard Blog Content module, click Edit Post Template within this module:
    • Locate the following social sharing HubL token in the blog post HTML:
{% blog_social_sharing "blog_social_sharing" overrideable=False, label='Blog Social Sharing' %}
  • Paste in the following code for the Pinterest button, immediately following the social sharing token:
<a class="pinterest" href="//{{ content.absolute_url }}&media={{ content.featured_image }}" data-pin-do="buttonBookmark" ><img src="//" /></a>
  • Click Publish Changes.

Was this article helpful?