Add Sprig to WordPress
You have two easy options: drop the buttons onto one page with a Custom HTML block, or add them site-wide with a free plugin. Both are copy-and-paste — no theme editing.
Your one-line snippet
This is the only code you'll paste. Logged in? Your API key is already baked in. Otherwise the buttons still work — just untracked until you add a key.
<script src="https://cdn.sprigshare.com/share.js?key=YOUR_API_KEY&api=https%3A%2F%2Fsharewidget-api-988645448815.us-central1.run.app" async></script>
Where it goes: A Custom HTML block on the page you want it on, or — for site-wide — the Footer field of a free snippet plugin like WPCode.
Heads up: If you're on WordPress.com (not self-hosted), the Custom HTML block requires a Premium plan or higher. Self-hosted WordPress.org sites have no such limit.
Edit the page or post where you want the buttons
In your WordPress dashboard, open the page or post in the block editor (the default editor with the “+” add-block button).
Add a “Custom HTML” block
Click the “+” to add a block and search for “Custom HTML.” Select it — this gives you a box that accepts raw code.
Paste the snippet and update
Paste your snippet (from Step 1 above) into the Custom HTML block, then click Update / Publish. Use “Preview” to confirm the buttons appear.
Want it on every page automatically?
Install a free code-snippet plugin like “WPCode,” go to its “Header & Footer” option, and paste the snippet into the Footer field. It’ll load on every page — no per-post editing.
That's it — your shares are now tracked.
Want different channels, colors, or a dropdown instead of buttons? Tweak it in the live builder.