Add Upvote.link to your blog or publication and empower readers to share your work. Get real backlinks, track engagement, and help quality content reach the people who care. Simple 2-line integration.
Add Upvote.link to any webpage in under 60 seconds
<script src="https://upvote.link/widget.js"></script>
<div class="upvote-link-widget" data-url="YOUR_ARTICLE_URL"></div>
data-url and it will automatically use the current page URL!
Select the best option for your website or platform
For platforms without JavaScript
Auto-detects current page
Customizable button widget
Create simple text links for platforms that don't support JavaScript
Create a simple hyperlink for a specific URL.
Perfect for footers - automatically detects the current page URL.
Customize your widget appearance and get the embed code
Step-by-step integration instructions for popular publishing platforms
Easiest way: Use a Custom HTML block in your posts
Simple Method (Recommended):
The upvote button will appear wherever you placed the block!
Ghost
Add widget to individual posts or site-wide
Easy Method (Per Post):
For site-wide integration, go to Settings → Code Injection and add the script to the Site Footer.
Add HTML code to your posts
Simple Method:
You can add it at the beginning or end of your posts!
Medium doesn't allow widgets, use a text link instead
Simple Method:
Medium doesn't allow custom code, so text links work best! Use the Text Link Generator to create your link.
Add widget to your Hugo templates (requires some coding)
Step-by-step:
layouts/partials/footer.html</body> tag:<script src="https://upvote.link/widget.js"></script>
layouts/_default/single.html<div class="upvote-link-widget" data-url="{{ .Permalink }}"></div>
The button will automatically use each page's URL!
Add widget to your Jekyll templates (requires some coding)
Step-by-step:
_layouts/default.html or _layouts/post.html</body> tag:<script src="https://upvote.link/widget.js"></script>
<div class="upvote-link-widget" data-url="{{ page.url | absolute_url }}"></div>
The button will automatically use each page's URL!
Add to your React components (requires coding knowledge)
For Developers:
gatsby-ssr.js file (create it if it doesn't exist)export const onRenderBody = ({ setHeadComponents }) => {
setHeadComponents([
<script key="upvote" src="https://upvote.link/widget.js" />
])
}
<div className="upvote-link-widget" data-url={location.href}></div>
Use Wix's embed feature to add the widget
Simple Method:
Drag the widget to resize and reposition it!
For custom websites or HTML sites
Simple Method:
</body> closing tag near the end<script src="https://upvote.link/widget.js"></script>
<div class="upvote-link-widget" data-url="YOUR_PAGE_URL"></div>
The widget will load automatically when someone visits your page!
Use custom code embed to add the widget
Simple Method:
You can style the widget container using Webflow's designer!
Power user features for custom integrations
Override widget styles with CSS
.upvote-link-widget-btn {
/* Your custom styles */
}
Add widgets for different articles
<div class="upvote-link-widget"
data-url="article-1"></div>
<div class="upvote-link-widget"
data-url="article-2"></div>
Common questions about integrating Upvote.link
No! The widget works for any URL. Users who want to upvote will need to sign up, but you don't need an account to add the widget to your site.
Yes! The widget is completely free. There are no usage limits or hidden fees. Just add it to your site and start collecting upvotes.
Yes! Use the Widget Configurator above to choose between dark/light themes and different styles (default, minimal, or solid). You can also override the CSS for full customization.
No. The widget is lightweight (under 5KB) and loads asynchronously, so it won't impact your page load speed or performance.
Try the text link or smart link options - they work on any platform. For JavaScript widgets, if you can add custom HTML/JavaScript, you can use our widget.
Yes! Create an account and share your content. You'll be able to see upvote counts, engagement metrics, and track how your content performs over time.
Absolutely! The widget is fully responsive and works perfectly on all devices - desktop, tablet, and mobile.
Yes! You can add widgets for different URLs on the same page. Just include the script once and add as many widget divs as you need.
Our integration support team is here to help you get your widgets running smoothly.