Skip to main content
Beta: Front-End Checklist is currently in beta. Some issues are still being fixed. Thanks for your patience.
SEOLow

Add share buttons to content pages

Checks for social sharing buttons on articles, blog posts, and other shareable content pages.

Utilities
Quick take
Typical fix time 10 min
  • Add sharing buttons to article and blog post pages to lower the friction for social distribution
  • Use privacy-friendly share buttons (no third-party scripts): construct share URLs manually
  • X (Twitter), LinkedIn, and Facebook share the vast majority of B2B and B2C content
  • Share buttons do not directly affect Google ranking but drive traffic that can result in backlinks
Why it matters: Social sharing extends content reach organically — shared articles gain traffic, which can attract backlinks that do contribute to search rankings over time.

Rule Details

Social sharing buttons give readers a one-click way to share content to their networks, extending reach beyond organic search. The share endpoints for X/Twitter (opens in new tab), LinkedIn, and Facebook are enough for most implementations without adding heavy SDKs.

Code Example

Construct share links using each platform's URL scheme — no JavaScript SDK needed:

<!-- X (Twitter) -->
<a
  href="https://twitter.com/intent/tweet?text=Article+Title&url=https%3A%2F%2Fexample.com%2Farticle"
  target="_blank"
  rel="noopener noreferrer"
>
  Share on X
</a>
 
<!-- LinkedIn -->
<a
  href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fexample.com%2Farticle"
  target="_blank"
  rel="noopener noreferrer"
>
  Share on LinkedIn
</a>
 
<!-- Facebook -->
<a
  href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Farticle"
  target="_blank"
  rel="noopener noreferrer"
>
  Share on Facebook
</a>
 
<!-- WhatsApp -->
<a
  href="https://wa.me/?text=Check%20this%20out%3A%20https%3A%2F%2Fexample.com%2Farticle"
  target="_blank"
  rel="noopener noreferrer"
>
  Share on WhatsApp
</a>

Why It Matters

Social sharing extends content reach organically. Shared articles can attract the same previews and off-platform attention supported by Open Graph tags, which is where the indirect SEO value usually shows up.

Dynamic Share URL Generation

const pageUrl = encodeURIComponent(window.location.href)
const pageTitle = encodeURIComponent(document.title)
 
const shareLinks = {
  twitter: `https://twitter.com/intent/tweet?text=${pageTitle}&url=${pageUrl}`,
  linkedin: `https://www.linkedin.com/sharing/share-offsite/?url=${pageUrl}`,
  facebook: `https://www.facebook.com/sharer/sharer.php?u=${pageUrl}`,
}

Platform Guide by Content Type

PlatformBest For
X (Twitter)Tech, news, developer content
LinkedInB2B, professional, career content
FacebookConsumer, lifestyle, local business
WhatsAppConsumer, mobile-first, international
RedditTechnical, community-driven content

What Happens When Shared

For share links to generate rich previews (image + title + description), the shared page must have Open Graph meta tags:

<meta property="og:title" content="Article Title">
<meta property="og:description" content="A brief description.">
<meta property="og:image" content="https://example.com/article-cover.jpg">
<meta property="og:url" content="https://example.com/article">

Performance Consideration

Avoid loading third-party share widget scripts (Facebook Like button SDK, AddThis, ShareThis). These:

  • Add 50–300 KB of JavaScript
  • Set third-party cookies
  • Introduce privacy compliance obligations

Use plain <a> tags with share URLs instead — they work on all devices without loading any external resources.

Exceptions

  • Necessary utility or compliance pages can be intentionally brief and should not be judged by the same editorial-depth expectations as ranking-focused content.
  • AI-assisted drafting is not a failure by itself; flag unsupported claims, missing editorial review, or low-originality output instead.
  • When a page has both trust-signal issues and crawl/index problems, make the page eligible to rank first and then improve the content quality signals.

Verification

Automated Checks

  • Inspect rendered HTML and HTTP headers to confirm the expected metadata or crawlability signal is present.
  • Test the affected URL with Google Search Console or equivalent tooling where relevant.
  • Re-crawl a representative page set after deployment.

Manual Checks

  • Confirm the change does not create conflicting canonical-url, robots, or structured-data signals.

Use with AI

Copy these prompts to use with your AI assistant, or install the MCP server to use directly from Claude, Cursor, or Windsurf.

Check

Verify implementation

On article and blog post pages, check for social sharing buttons or links. Verify they use the correct share URL format for each platform (X, LinkedIn, Facebook, WhatsApp). Check that share URLs pre-populate the article title and URL. Verify no heavy third-party share scripts are loaded.

Fix

Auto-fix issues

Add share links constructed with platform share URLs (no third-party SDKs required). Use `window.location.href` or the page's canonical URL as the shared link. Include `og:title` and `og:image` so the shared link renders a rich preview.

Explain

Learn more

Explain how social sharing contributes to content distribution and indirect SEO through traffic and backlinks, why privacy-friendly share links (no tracking scripts) are preferred, and which platforms matter most for a given content type.

Review

Code review

Review metadata generation, rendered HTML, structured data, and response headers related to Add share buttons to content pages. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.

Sources

References used to support the guidance in this rule.

Further Reading

Tools and supplementary material for exploring the topic in more depth.

Google Search Console
search.google.comTool

Rules that often go hand-in-hand with this one.

Open Graph Tags

Validates Open Graph meta tags for social sharing

SEO
OG URL Match

Checks that og:url matches canonical URL

SEO
Add Twitter Card meta tags

Validates Twitter (X) Card meta tags for correct card type, image dimensions, and required fields.

SEO

Was this rule helpful?

Your feedback helps improve rule quality. This stays internal for now.

Loading feedback...
0 / 385