Topic Keyword

A followable topic label that can work as a standalone follow control or as a linked tag with a separate follow toggle.

Topic FollowTag UILogin-Aware
Topic keyword example

Introduction

The Topic Keyword widget turns a topic label into a follow or unfollow control backed by UniSignIn tag APIs.

When the visitor is logged in, the component checks the current follow state for the supplied `tag_slug` and switches between add and remove states automatically.

If you also provide a URL, the tag label remains clickable as a normal link while the follow control stays available beside it. Without a URL, the entire label acts as the follow button.

Features

1Login-Aware Follow State
The widget reads the current UniSignIn user state and refreshes follow status after login so the correct icon and action are shown.
2Follow And Unfollow API Calls
Clicks send POST or DELETE requests for the current `tag_slug`, allowing the same component to add or remove the topic from a user profile.
3Linked Or Standalone Modes
You can render the topic as a plain follow control or pass a URL so the text links to the topic page while the icon handles follow state separately.
4Mini And Large Layouts
The component supports both compact and larger tag styles, making it usable in tight article metadata slots or more prominent callout placements.

Integration

The widget renders on `data-exp="unis-topic-keyword"` containers. `tag` controls the visible label, while `tag_slug` is the value used for follow-state lookups and follow or unfollow API calls.

  • `data-tag` sets the visible topic name.
  • `data-tag-slug` is the key used when reading and updating follow state.
  • `data-size` accepts the built-in display styles such as `mini` or `big`.
  • `data-url` is optional and turns the topic text into a normal link while keeping the follow icon beside it.
<div
  data-exp="unis-topic-keyword"
  data-tag="Football"
  data-tag-slug="football"
  data-size="big"
  data-url="/tag/football"
></div>

Screenshots

Topic keyword follow control
Topic keyword follow control

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.