Share

A social share row that renders only the networks you provide and appends UniSignIn campaign parameters to each outbound share URL.

Social ShareUTM TaggingDark Mode
Share buttons example

Introduction

The Share widget renders a row of icon buttons for the social networks whose URLs are passed into the container.

The current implementation supports Facebook, Twitter, LinkedIn, WhatsApp, and Flipboard. Each rendered URL is passed through `addParam` so UniSignIn share traffic can be tagged with `utm_source=unisignin&utm_campaign=share`.

A `darkMode` option changes the border and icon styling so the same widget can sit on light or dark article headers without custom CSS forks.

Features

1Selective Network Rendering
Only the platforms whose URLs are present are rendered, so you can tailor the share row to the channels that matter for a specific site or article template.
2Built-In Campaign Tagging
Share links receive UniSignIn campaign parameters before opening, which helps attribute traffic generated through the widget.
3Light And Dark Styling
The component includes light and dark visual modes rather than forcing a single style across every placement.
4External Share Targets
Each button opens the provided share target in a new tab or app handoff, preserving the current page session while still sending the user to the share destination.

Integration

The share widget is rendered on `data-exp="unis-share"` containers. It relies on SyncCMS being enabled in `window.UNISIGNIN_CONFIG`, and it reads the social URLs directly from the container dataset.

  • `data-dark-mode` can be set to `dark` for the darker icon treatment.
  • `data-facebook`, `data-twitter`, `data-linkedin`, `data-whatsapp`, and `data-flipboard` control which share buttons appear.
<div
  data-exp="unis-share"
  data-dark-mode="dark"
  data-facebook="https://www.facebook.com/sharer/sharer.php?u=..."
  data-twitter="https://twitter.com/share?url=..."
  data-linkedin="https://www.linkedin.com/shareArticle?mini=true&url=..."
  data-whatsapp="whatsapp://send/?text=..."
  data-flipboard="https://share.flipboard.com/bookmarklet/popout?v=2&url=..."
></div>

Screenshots

Share buttons in light mode
Share buttons in light mode
Share buttons in dark mode
Share buttons in dark mode

Own Your Audience Data, Grow Your Revenue

The complete first-party data solution built specifically for publishers who want independence from third-party cookies

Privacy-First Login

Build reader trust with transparent, compliant authentication

Actionable Insights

Transform reader behavior into targeted content strategies

Seamless Integration

Live in days, not months, with your existing CMS

Proven Results

40% higher ad rates and 35% growth in subscriber conversion

Trusted by leading publishers to reclaim audience relationships and maximize monetization opportunities.