WeSync SDK · v2.0

Build your button.
Copy one line. Ship it.

WeSync is a single JavaScript file that adds a "copy & open" launcher to any website: every tap copies your text to the visitor's clipboard and opens the service ready to paste. Use the builder below — the embed code updates live.

Label

Color

Services (tap to toggle)

Text to copy

Position

Install

One tag before </body>. Works on WordPress (Custom HTML block), Shopify (theme.liquid), Wix/Squarespace (embed block), React, and plain HTML.

<script src="https://wesync.me/wesyncme.js"
  data-label="Ask AI"
  data-text="Read this page and answer my questions about it."
  data-items="grok,chatgpt,claude,gemini,perplexity">
</script>

Options

AttributeDefaultDescription
data-label"Ask AI"Button text.
data-colorgradientAny CSS color or gradient.
data-textemptyCopied on every tap. auto = page title + URL (+ visitor's text selection). #id/.class = copies that element.
data-items9 popularComma-separated catalog keys, in your order.
data-custom[]JSON custom links: name, url, copy, icon (image/emoji/SVG — auto SVG monogram if omitted).
data-positionbottom-rightbottom-right | bottom-left | top-right | top-left | inline
data-offset-x/y20pxCorner distance, any CSS length.
data-icon✦Button icon: emoji, image URL, or SVG.
data-shapepillround = icon-only 52px circle.
data-themeautoauto | light | dark (panel).
data-columns3Panel grid: 3 or 4.
data-btc/eth/sol—Your wallet addresses (copied on tap; explorer opens).
data-phone—Number for the Call item.

Catalog — 26 built-in services

Analytics events

document.addEventListener('wesync:open', function () {
  gtag('event', 'wesync_open');
});
document.addEventListener('wesync:tap', function (e) {
  // e.detail = { name, key, url, copied }
  gtag('event', 'wesync_tap', { service: e.detail.name });
});

Recipes

<!-- Tip jar -->
<script src="https://wesync.me/wesyncme.js" data-label="Tip Me ₿"
  data-color="linear-gradient(135deg,#f7931a,#f75c1a)"
  data-items="bitcoin,ethereum,solana"
  data-btc="bc1q..." data-eth="0x..." data-sol="..."></script>

<!-- Inline share under a blog post (auto-copies the page) -->
<script src="https://wesync.me/wesyncme.js" data-position="inline"
  data-label="Share this post" data-text="auto"
  data-items="x,whatsapp,telegram,reddit,email,copylink"></script>