Title: DataDuel Affiliate Link Protect
Author: thedataduel
Published: <strong>2026 年 7 月 18 日</strong>
Last modified: 2026 年 7 月 18 日

---

搜索插件

![](https://ps.w.org/dataduel-affiliate-link-protect/assets/banner-772x250.png?rev
=3612978)

![](https://ps.w.org/dataduel-affiliate-link-protect/assets/icon-256x256.png?rev
=3612978)

# DataDuel Affiliate Link Protect

 作者：[thedataduel](https://profiles.wordpress.org/thedataduel/)

[下载](https://downloads.wordpress.org/plugin/dataduel-affiliate-link-protect.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/dataduel-affiliate-link-protect/#description)
 * [评价](https://cn.wordpress.org/plugins/dataduel-affiliate-link-protect/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dataduel-affiliate-link-protect/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dataduel-affiliate-link-protect/#developers)

 [支持](https://wordpress.org/support/plugin/dataduel-affiliate-link-protect/)

## 描述

AI answer engines increasingly summarize content and quietly drop affiliate links—
costing publishers commissions. **Northstar** generates per-page schema.org JSON-
LD and `llms.txt` guidance that tells AI engines to preserve _your_ affiliate links
and attribute the click to you.

This plugin connects your WordPress site to your Northstar account. Generate your
scripts at Northstar (single page or bulk from your sitemap), paste your API key
here, and the plugin:

 * **Syncs** every generated script from your Northstar account (hourly, plus on-
   demand),
 * **Auto-injects** each page’s JSON-LD into the correct page’s `<head>` — no copy-
   paste,
 * **Serves a merged `/llms.txt`** assembled from every protected page.

A 50- or 500-page site is protected in a few clicks instead of hundreds of manual
pastes.

#### What you need

 * A Northstar account at https://thedataduel.com with generated scripts.
 * An API key (Dashboard  Plugin / API key  Generate a key).

## 屏幕截图

[⌊Settings → Northstar Protect: paste your API key, test the connection, and sync.⌉⌊
Settings → Northstar Protect: paste your API key, test the connection, and sync.⌉[

Settings  Northstar Protect: paste your API key, test the connection, and sync.

[⌊Status panel showing cached scripts and the last sync time.⌉⌊Status panel showing
cached scripts and the last sync time.⌉[

Status panel showing cached scripts and the last sync time.

[⌊Your Northstar dashboard, where you generate the API key (Plugin / API key panel).⌉⌊
Your Northstar dashboard, where you generate the API key (Plugin / API key panel)
.⌉[

Your Northstar dashboard, where you generate the API key (Plugin / API key panel).

## 安装

 1. Upload the plugin to `/wp-content/plugins/` or install it from the Plugins screen.
 2. Activate **Northstar Affiliate Protect**.
 3. Go to **Settings  Northstar Protect**.
 4. Paste your API key, save, then click **Sync now**.
 5. Done — your generated scripts now auto-inject into the matching pages.

## 常见问题

### Where do I get the API key?

In your Northstar dashboard: **Plugin / API key  Generate a key**. It’s shown once—
copy it into the plugin.

### How does it match scripts to pages?

Each generated script is keyed by its source URL. The plugin matches the URL of 
the page being rendered to the cached script and injects it. Matching is scheme-
and trailing-slash tolerant.

### Does it slow down my site?

No. Scripts are cached locally in your database; injection is a single indexed lookup
per page. The only remote call is the periodic background sync.

### Is my API key safe?

The key is stored in your WordPress options and sent only to your configured Northstar
API base over HTTPS. You can revoke it any time from your Northstar dashboard.

### What happens if I delete the plugin?

Uninstalling removes the local cache table and all plugin options.

## 评价

此插件暂无评价。

## 贡献者及开发者

「DataDuel Affiliate Link Protect」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ thedataduel ](https://profiles.wordpress.org/thedataduel/)

[帮助将「DataDuel Affiliate Link Protect」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dataduel-affiliate-link-protect)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dataduel-affiliate-link-protect/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/dataduel-affiliate-link-protect/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/dataduel-affiliate-link-protect/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dataduel-affiliate-link-protect/)。

## 更新日志

#### 1.0.0

 * Initial release: API-key sync from the Northstar export endpoint, automatic per-
   page JSON-LD injection, merged /llms.txt endpoint, hourly + on-demand sync.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/dataduel-affiliate-link-protect/)
 * 标签
 * [affiliate](https://cn.wordpress.org/plugins/tags/affiliate/)[AI](https://cn.wordpress.org/plugins/tags/ai/)
   [JSON-LD](https://cn.wordpress.org/plugins/tags/json-ld/)[schema](https://cn.wordpress.org/plugins/tags/schema/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/dataduel-affiliate-link-protect/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/dataduel-affiliate-link-protect/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dataduel-affiliate-link-protect/reviews/)

## 贡献者

 *   [ thedataduel ](https://profiles.wordpress.org/thedataduel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dataduel-affiliate-link-protect/)