Site Sync explained: one line of JS, every affiliate link found in a minute.
Paste one script tag in your site's head. Within a minute, every affiliate link you've ever posted is in Affiliyo. When a destination breaks, update it once. Every page of your site shows the new link instantly. No find-and-replace, no WordPress edits.
Most creators have more affiliate links than they remember. Three years of blog posts, a resources page, the sidebar widget, that old review that still gets clicks every month. When a destination breaks. and they always do. Fixing it means hunting through your CMS, finding every post that references the old URL, editing each one, republishing. Hours of cleanup for a 30-second actual change.
Managed URLs solve half of that problem: once your content points at go.affiliyo.com/yourslug instead of the bare affiliate URL, updating the destination takes one click in a dashboard. But getting your content THERE. Replacing every bare URL with the managed version across every post. Is still its own tedious project.
Site Sync is the JavaScript snippet that removes the last bit of manual work. One line of code in your site's <head>, and Affiliyo knows every affiliate link you have. And can optionally swap destinations in real time, without you editing a single post.
What Site Sync actually is
Site Sync is a small JavaScript bundle (~5KB) that you install once. Same pattern as Google Analytics, Weglot, or Hotjar. Paste a <script> tag, done.
Once installed, it does three things, all powered by the same script. The visual walkthrough lives on /how-it-works; here's the text version.
1. Burst scan. On install
The first time the script loads, it fetches your sitemap.xml, parallel-fetches every page listed, parses the HTML, and finds every affiliate link you've ever posted. For a typical 50–200 page creator blog, this finishes in under a minute. All happening in your own browser, no backend crawler involved.
When it's done, every link shows up in your Affiliyo dashboard. Healthy links, broken links, ones missing affiliate tags. The full inventory, ready to monitor. Closest thing to the "wow moment" Affiliyo aims for on first signup.
2. Passive detection. Always on
After the initial burst, Site Sync keeps watching. Every page your visitors load, the script scans the rendered DOM for new affiliate links. When you publish a new post next week, the links in it show up in Affiliyo automatically. No re-import, no "refresh" button to click.
This matters because most creator sites are alive. You add content. An affiliate link added on Tuesday shouldn't need a Wednesday action to start being monitored.
3. Live-swap. The magic
This is where Site Sync goes beyond any traditional crawler. Turn live-swap on, and the script rewrites <a href> attributes on your pages in real time. Swapping bare affiliate URLs for their managed URL equivalents, or pointing to a new destination if you've updated the mapping.
Practically: you can keep writing plain amazon.com/dp/xxx?tag=yours links in WordPress. When a product sells out or a destination changes, you update it once in Affiliyo. Every page on your site instantly shows the new link. No find-and-replace, no edit-save-publish loop across every post that references it.
Why Site Sync beats a traditional crawler
Most affiliate tools approach this with a backend crawler: point it at your domain, it fetches pages from their servers. That approach has real limits. JavaScript-rendered sites (Next.js, Nuxt, modern blogs) often confuse backend crawlers. Paywalled or members-only content is invisible. Anti-bot checks flag crawler traffic. And every crawl is a snapshot in time. New content needs a re-crawl.
Site Sync runs inside your visitors' browsers, which changes everything:
- JavaScript-rendered pages work perfectly. The DOM is already rendered when the script runs.
- Authenticated or paywalled pages are included, because the script runs under visitors' existing sessions.
- No CORS, no rate limits, no anti-bot issues. Real browsers visiting your real site look like, well, real browsing.
- Passive mode means the inventory is always current, not a week-old snapshot.
The closest pattern in other industries is Weglot, which translates websites via the same script-in-head architecture. Affiliyo takes the same bet for affiliate link management.
Fail-safe: your affiliate links never break because of us
Site Sync is designed around one hard rule: if anything on our side fails, your original affiliate links keep working exactly as you wrote them.
If our CDN is down. Your site loads without the script, hrefs stay original. If the swap lookup fails. That specific link stays original. If our entire service were to vanish tomorrow. Every bare affiliate URL you've ever written still works, because we never mutated the source. Site Sync is strictly a runtime enhancement, not a rewrite of your content.
What Site Sync is not
Site Sync only works on sites you control the HTML of. WordPress, Ghost, Webflow, Next.js, custom. That covers most creator blogs.
What it doesn't cover: YouTube descriptions, Instagram bios, Linktree pages, TikTok bios, newsletter HTML. Places where you can't install a <script> tag. Those still need managed URLs plus an import path (text parser, Linktree import, manual add) to get into Affiliyo. Same monitoring, different entry.
Install and watch it work
Installation is one line of HTML pasted into your site's <head>:
<script async src="https://cdn.affiliyo.com/s.js" data-affiliyo-key="ws_XXXXXX"></script>
Then load your site once. Site Sync kicks off the burst scan in your own browser, the dashboard shows a progress bar, and within a minute your whole affiliate-link inventory is visible. Available on every tier, bounded by your link limit. 10 on Free, 100 on Starter, 500 on Pro.
Affiliyo launches soon. Join the waitlist. First Site Sync installs get founding-member pricing and early feedback access.
Join waitlistKeep reading
Managed URLs explained: one link, every platform, one click to fix.
Bare affiliate URLs look fine until Amazon rotates their ASIN or a program changes its network. Then you're editing videos and re-sending newsletters. Managed URLs turn that crisis into one click.
ReadPinterest affiliate links: the complete guide.
Pinterest is one of the few large platforms that openly allows direct affiliate links. Pins also live for years, which means rotting links cost you longer here than anywhere else. A complete guide to affiliate links on Pinterest: rules, formats, and how to stop them dying silently.
Read