| 开发者 | affilinode |
|---|---|
| 更新时间 | 2026年12月1日 06:28 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/go/…) with server-side click counting – never for Amazon links[affilinode_product], [affilinode_products], [affilinode_offers], [affilinode_compare], [affilinode_button], [affilinode_list], [affilinode_deals], [affilinode_link], [affilinode_field] and more, and as blocks. The shortcode generator in the editor writes them for you. Up to version 0.29 the shortcodes were called [ac_product], [ac_list] and so on; these names keep working until version 1.0. All shortcodes and attributes are documented in the help center: https://affilinode.com/hilfe/shortcodes.html
External services
This plugin is a client for the affilinode product data service. It does not contact any external server until you enter an affilinode API key (or configure one of the optional services below). Demo mode works offline with bundled sample data.
affilinode API (https://api.affilinode.com) – used to fetch product data, offers, prices, lists, comparison tables, price history, spare parts, accessories, alternatives, key values, "A vs B" comparisons, mobile contract offers (tariffs), deals and vouchers, to search the catalog, to request new products, to show your site's affiliate reports and to migrate data from other plugins.
When: when a page with an affilinode shortcode or block is rendered and the cached data is missing or expired (also in the background via WP-Cron); when editors use the block editor, shortcode generator, product list, product import, statistics or migration screens; after a post with new tracking IDs is saved and after a migration (WP-Cron); when "Test connection" is clicked; by the hourly post check; by the optional product page synchronisation; with automatic links switched on, once a day for the list of terms (product titles, brands, category names – your posts are never sent); and when visitors use the comparison picker, the product search, the product advisor, the compatibility check or the deals feed (your server passes the request on).
Data sent: your API key; your site URL and plugin version (User-Agent); product identifiers (affilinode ID, ASIN, EAN/GTIN, MPN); language and country; search terms typed by editors or by visitors, the filters visitors choose in the product search, the answers visitors give in the product advisor and the system chosen in the compatibility check (used to find matching products; advisor answers are only added to daily totals per question and answer, without IP address, cookie or visitor ID); list and category keys; for statistics the date range and post IDs; for product import the lines you enter; on multisite the blog ID, name and URL; for migrations product titles, ASINs, EAN/GTIN, shop IDs, list definitions and post IDs (never keys, secrets, other affiliate links or prices); for the reports the tracking IDs found in your posts and in the settings of the plugins you migrate from (Amazon tracking IDs, Awin clickrefs, eBay campaign IDs, network sub IDs), each with its source; only if "Send posts to affilinode" is switched on, title, address, text (without HTML), post ID and dates of public posts; with the link guard (on by default, switch off under "Link guard: suggest replacements") title, address, post ID, the product IDs in its boxes and its clicks of the last 30 days for each post the post check has checked. Visitor IP addresses and cookies are never sent; price-alert e-mail addresses only with "Sending of price alerts: affilinode" (see below).
Contextual Ads+ (only for posts sent with "Send posts to affilinode" and only if your plan or the site's "AI analysis via credits" setting includes it): affilinode analyses each version of a post once with a language model – its own model or Google Gemini via Google Cloud Vertex AI in the EU – to find matching products. Comment sections, e-mail addresses, phone numbers and links to people are removed and the text is shortened before it is sent; Google does not use the content for training.
Price alert e-mails (optional, Settings → Price alerts → "Sending of price alerts: affilinode", off by default): for every confirmation, notification and unsubscribe confirmation the plugin sends the recipient's e-mail address, the language, the site name, the product title, the current and target price, the cheapest shop and the confirm, unsubscribe and product links to POST /v1/mail/price-alert; affilinode sends the e-mail as processor and keeps a delivery record for up to 40 days. With the default "WordPress", nothing of this is sent.
Incoming webhooks (optional): if you configure a webhook secret, affilinode calls /wp-json/affilinode/v1/webhook on your site with the IDs of changed products, lists and comparison tables (HMAC-signed) and with addresses that cannot be delivered or reported an e-mail as spam.
Terms of service: https://affilinode.com/agb – Privacy policy: https://affilinode.com/datenschutz
affilinode media CDN and image proxy (https://media.affilinode.com) and merchant image servers – product images and shop logos are loaded by the visitor's browser from the URLs supplied by the API. The browser sends its IP address and user agent to these hosts when a page with a product box is viewed. Same terms and privacy policy as above, plus the policies of the respective merchant.
Amazon short-link services (amzn.to, amzn.eu, amzn.asia, a.co) – used to find the product behind an Amazon short link in your posts, only when an administrator clicks "Resolve short links" on the Move page (source "Amazon links"). For each short link found in your posts the plugin first reads the service's robots.txt (cached for a day) and then sends one HEAD request (GET if HEAD is refused) without following the redirect, at most five per step with a one-second pause, to learn the Amazon address it points to. Data sent: the short link itself, the user agent affilinode-WordPress/<version> and – as with any request – the IP address of your server; no site address, cookies, visitor data or other data. Only targets on Amazon marketplaces are kept. The short-link infrastructure behind amzn.to is operated by Bitly (bitly.com); the plugin uses no Bitly account or service of its own.
Amazon terms: https://www.amazon.com/gp/help/customer/display.html?nodeId=GLSBYFE9MGKKQXXM – Amazon privacy notice: https://www.amazon.com/privacy
AMP Project script CDN (https://cdn.ampproject.org) – only on AMP pages of the legacy Reader mode of the AMP plugin that show a box with a form (product search, product advisor, compatibility check, tariff calculator, price alert). The visitor's browser then loads the AMP component script amp-form from this CDN, operated by Google. Data sent: the visitor's IP address and the technical request headers (user agent, referrer) that every browser sends when loading a script. Nothing else is sent by the plugin; on normal pages and in AMP Standard/Transitional mode the plugin loads nothing from this host.
AMP project: https://amp.dev – Google terms: https://policies.google.com/terms – Google privacy policy: https://policies.google.com/privacy
Cloudflare API (https://api.cloudflare.com) – optional, only if you enter a Cloudflare API token under Settings → Cache & performance. When affilinode reports changed products (webhook), when a missing product appears, when a post is saved and on "Clear page caches now", the plugin looks up the zone of your domain and asks Cloudflare to purge the addresses of the affected posts (WP-Cron). Data sent: your API token, your domain name and the addresses (URLs) of your posts – no visitor data.
Terms: https://www.cloudflare.com/terms/ – Privacy policy: https://www.cloudflare.com/privacypolicy/
MaxMind GeoLite2 (https://download.maxmind.com) – optional, only if you enable MaxMind geolocation and enter your MaxMind account ID and license key. The plugin downloads the country database weekly (WP-Cron) or when you click "Update now". Data sent: your account ID and license key. Visitor IP addresses are looked up locally and never sent to MaxMind.
Terms: https://www.maxmind.com/en/geolite2/eula – Privacy policy: https://www.maxmind.com/en/privacy-policy
Banner servers of affiliate networks (ADCELL, Webgains, Awin, Tradedoubler, eBay and others) – only for the optional banner box. Banners delivered by the affilinode CDN load nothing from third parties. Banners set to "original after consent" show a placeholder first; only after the visitor clicks "Load banner" (or, with consent="direct", after your consent tool granted marketing consent) does the visitor's browser load the original image from the network's server or show the network's banner code inside a sandboxed iframe, and send its IP address and user agent there. Terms and privacy policy are those of the respective network (see below).
Affiliate networks, comparison portals and shops (Amazon, eBay, Awin, Tradedoubler, Webgains, CJ and their advertisers, CHECK24, Tarifcheck) – the plugin only renders links. Nothing is sent until a visitor clicks a link; the link then carries your tracking ID and, where applicable, the product ID, or – for tariff calculators – the postcode and consumption the visitor entered. With the optional own redirects (/go/…), the click first goes to your own website, which counts it locally and forwards the visitor to the same link; Amazon links are never redirected.
Amazon Associates: https://affiliate-program.amazon.com/help/operating/policies – Privacy: https://www.amazon.com/privacy
eBay Partner Network: https://partnernetwork.ebay.com/legal – Privacy: https://www.ebay.com/help/policies/member-behaviour-policies/user-privacy-notice-privacy-policy?id=4260
Awin: https://www.awin.com/gb/legal – Privacy: https://www.awin.com/gb/privacy
CHECK24: https://www.check24.de/unternehmen/agb/ – Privacy: https://www.check24.de/unternehmen/datenschutz/
Tarifcheck: https://www.tarifcheck.de/agb/ – Privacy: https://www.tarifcheck.de/datenschutz/
Your own analytics service: Matomo, Google Analytics 4, Google Tag Manager, Umami – optional, each target off by default (Settings → Analytics click tracking). If you enable a target, clicks on affiliate links are handed to the tracker that your site already loads (window._paq / window._mtm, gtag('event', …), window.dataLayer, umami.track(…)). The data goes to your analytics service, never to affilinode. The plugin loads none of these trackers, sets no cookies and sends nothing itself – if the tracker is missing (or has not been loaded because the visitor has not consented), nothing happens. Data handed over per click: shop name, affilinode product ID, product name (shortened), box type, position in the list, post ID, the domain of the link (never the full affiliate URL) and, if "Event value: Price" is set, price and currency.
Google Analytics terms: https://marketingplatform.google.com/about/analytics/terms/us/ – Google privacy policy: https://policies.google.com/privacy – Matomo: https://matomo.org/privacy-policy/ – Umami: https://umami.is/privacy
Privacy
For live data, yes. Demo mode shows bundled sample products without an account and without any external request.
No. The plugin requests product data server-side with your API key. Visitors' browsers only load product images from the affilinode CDN or the merchant (see External services). Only what visitors type or choose in the comparison picker, the product search and the product advisor is passed on by your server – search terms, filters and advisor answers, never IP addresses or cookies.
A small "Made with affilinode" link (rel="nofollow") that you can show below each box to support affilinode. The plugin never adds it on its own – on any plan, including the free one. You decide under Settings → Layout ("Show the Made with affilinode link": Default, On or Off). A choice made in the plugin always wins. Every feature works without the link. Text links and inline buttons never show it.
Your affilinode account uses Amazon. The Amazon Associates Program Policies do not allow price tracking or price alerts on sites with Amazon links. If Amazon has granted you a written exception, you can confirm that in the settings.
By default WordPress itself (wp_mail – also through an SMTP plugin). Under Settings → Price alerts you can switch "Sending of price alerts" to affilinode: then affilinode sends them via its mail server, optionally with your own sender domain. Bounces and spam complaints are handled for you, and the affected alerts are switched off.
Yes. Boxes can be rendered server-side (cached together with the page) or loaded via Ajax for always-current prices. With a webhook secret set up, affilinode reports changed products, lists and comparison tables, and the plugin clears the posts with these boxes in LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, WP Fastest Cache, SiteGround Optimizer, Breeze, Nginx Helper and Cloudflare (Settings → Cache & performance, on by default). This runs in the background.
For Cloudflare, either use the Cloudflare plugin or enter an API token with "Zone → Zone → Read" and "Zone → Cache Purge → Purge" (stored encrypted). Own cache layers can hook into the action affilinode_purge_urls ( $urls, $post_ids ).
Yes. On AMP pages of the official AMP plugin (Standard, Transitional and Reader mode) and of "AMP for WP", every box is rendered on the server and affilinode loads no JavaScript of its own. The styles come as a compact AMP variant, only for the boxes on the page. Product search, product advisor and compatibility check are forms that reload the AMP page with the result; the price alert uses amp-form. Carousels are a row you can swipe. Click tracking, box statistics and the A/B test need JavaScript and do not count on AMP pages; own redirects (/go/…) count clicks on your server. Details are in the help center.
Yes. With Elementor active, the panel has an "affilinode" category with an "affilinode box" widget for every box type, plus product box, product list and price comparison as their own widgets. Divi, WPBakery and Beaver Builder each get a module "affilinode": choose the box type and only its options are shown. All of them render exactly like the shortcodes (same templates, caching, tracking and click statistics). Without the builder, nothing of this is loaded.
Yes, optionally: Settings → Own redirects → "Route affiliate links through your own website" (off by default). Boxes, buttons, text links and automatic links then point to an address on your site such as /go/samsung-galaxy-s25-otto. A click is counted on your server and forwarded with a 302 to exactly the affiliate link the box would have shown. rel="sponsored nofollow" stays on the link.
/go/ answers with X-Robots-Tag: noindex, nofollow. If a CDN caches everything (e.g. a Cloudflare "Cache Everything" rule), exclude /go/* there.Yes. Normally Amazon links carry the tracking ID of your website (affilinode dashboard → Websites → Tracking IDs). To use another one, use the field "Amazon tracking ID for this post" in the editor sidebar, or tracking="myblog-21" in a shortcode, e.g. [affilinode_product id="…" tracking="myblog-21"]. A tracking ID in the box wins over the one of the post, which wins over the website's. Only the tag parameter of links to Amazon marketplaces is replaced. Tracking IDs consist of letters, digits and hyphens (at most 64 characters).
Yes, with geolocation (Settings → Loading & geolocation): the country comes from a CDN header (e.g. Cloudflare CF-IPCountry), otherwise from the MaxMind GeoLite2 database, otherwise the default country of the site applies. With the loading mode hybrid or Ajax the page swaps the box in the browser for the offers of the visitor's country with its own tracking IDs. Which shops a country shows and which partner comes first is set per website in the affilinode dashboard; a single box can override this with shops, prefer and countries.
Every offer carries the time of its last price confirmation, and the boxes show "Price updated 2 hr. ago". Prices older than "Maximum price age" (Settings → Cache & performance, 24 hours by default) are hidden and the button reads "Check current price". Amazon prices are never shown when older than 24 hours, even with a higher setting; eBay offers after 6 hours. Per box: max_age="6" (hours).
Yes, under affilinode → Automatic links (off by default). Product names link to the best offer or to the first offer of the shops you pick, in your order; category names link to the Amazon search with your tracking ID, to your own category page, or not at all. You can add your own keywords and set the maximum number of links per post. Headings, existing links, code, captions, tables of contents, feeds and the editor are never linked. Automatic links carry rel="sponsored nofollow noopener" and click tracking.
Yes. Under Settings → Analytics click tracking switch on the targets you use, each on its own and off by default. The plugin does not load any tracker: it hands the click to the tracker your site already loads (gtag, dataLayer, Matomo, umami.track) and does nothing if it is missing. Each click carries shop, product ID, shortened product name, box type, position, post ID and the domain of the link – never the affiliate URL with your tracking parameters. Consent is handled by your consent tool: if it only loads the tracker after consent, no click is reported before.
Yes, under Settings → Layout: "Button size" (small, medium, large), "Corner radius (px)", "Button colour on hover", and one colour each for "test winner" badges, "value for money" badges and all other badges. The preview below the fields shows sample products with your values before you save. Text colours are chosen automatically for sufficient contrast. For anything beyond that, add your own CSS under Appearance → Customize → Additional CSS (or in the Site Editor). The boxes use CSS variables on .acp, e.g. .acp{--acp-radius:4px;--acp-btn-h:48px} – the full list is in the help center.
Yes, under affilinode → Templates (administrators). Create a template from the built-in product box, card or list entry (or an empty one) and edit it as HTML with placeholders such as {{title}}, {{brand}}, {{price}}, lists such as {{#offers}}…{{/offers}}, conditions such as {{#if purchasable}}…{{else}}{{status}}{{/if}} and ready-made parts with three braces: {{{image}}}, {{{stars}}}, {{{price_html}}}, {{{button}}}, {{{disclaimer}}}. The list next to the editor shows every placeholder; errors are shown with their line, and the preview shows sample products while you type. Then use [affilinode_product id="…" template="custom:my-box"] or pick the template as "Layout" in the block or the shortcode generator.
Links to the shop only work through {{{button}}} or <a {{{link_attrs}}}>…</a> – there is no placeholder with the raw affiliate URL, so tracking IDs, /go/ redirects and click tracking always apply. Every link in a template gets rel="sponsored nofollow". Templates cannot contain scripts, event handlers, style attributes or style elements: the HTML is always filtered with a fixed list of allowed tags and attributes, for every user. Values are escaped automatically; there is no PHP and no eval. Style your templates with the CSS of the theme or the Additional CSS of the Customizer, starting your selectors with .acp-tpl--<slug>. Templates are part of the settings export.
Yes. Copy a file from templates/ into your-theme/affilinode/ and adjust it. All template variables are also available in the $args array. Escape every value when you output it; for the HTML returned by the View helpers use wp_kses( …, View::allowed_html() ).
Yes. At the bottom of affilinode → Settings, "Export and import settings" downloads all settings of the site as a JSON file – including automatic linking, the tariff calculators and your own templates. Secret keys (API key, webhook secret, Cloudflare token, MaxMind licence key) are left out unless you tick "Include secret keys". "Check file" uploads a file on the other website and shows a table of every value that would change before anything is saved. Every value is checked like a value entered in the form. In a multisite network, the network admin exports and imports the network settings. With WP-CLI: wp affilinode settings export and wp affilinode settings import <file>.
Yes. wp help affilinode lists all commands; they do the same as the buttons in the admin: wp affilinode status, cache flush, sync, migrate <source>, settings export|import, tracking sync and legacy status|rewrite|undo. The commands are only loaded when WP-CLI runs. In a multisite network, choose the site with --url=… as usual.
Nothing right away: the old names still work (shortcodes [ac_product], the blocks affiliate-central/…, the hooks affiliate_central_…, the REST namespace affiliate-central/v1 and the template folder your-theme/affiliate-central/). They are deprecated and will be removed in version 1.0. affilinode → Old shortcodes lists the posts that still contain old shortcodes or blocks; "Rewrite all" changes only the names, saves a revision before each post is changed and can undo every change. Hooks cannot be rewritten automatically: rename them to affilinode_… (same arguments).
Open affilinode → Move and choose the source. The analysis lists the posts with the old shortcodes and the ASINs and products found; the transfer requests products unknown to affilinode (counted against the daily request quota). Your posts are not changed. Once the old plugin is deactivated, affilinode renders its shortcodes with its own boxes, for example AAWP [amazon box], [amazon link], [amazon fields] and [amazon table], Lasso [lasso id="…"], AmaLinks Pro [amalinkspro …] and ASA [asa]/[asa2]; the old tracking IDs are kept. Optionally, "Convert posts" replaces the old shortcodes by affilinode shortcodes for good, with a preview and undo via revisions. Settings → Compatibility switches each mode on or off. Shortcode names that another active plugin already uses are never taken over.
Yes. affilinode → Move → "Amazon links (SiteStripe)" finds text and image links to Amazon and short links (amzn.to, amzn.eu), and lists each with post, ASIN and tracking ID. Optionally the links can be converted into affilinode text links or boxes (preview, undo via revisions); the tracking ID of the link can be kept. Short links only reveal their product after asking the short link service – only when you click "Resolve short links" (see External services). More questions are answered in the help center: https://affilinode.com/hilfe
/go/…) read their parameters from the request address and sanitize them there; nested values such as filters are kept.data: addresses in links and form targets (images keep them); the output filter now also knows the accessibility and AMP form attributes the boxes use.esc_url_raw, sanitize_text_field) instead of being checked later.wp_kses) before it is printed; the price alert confirmation page and the JSON export downloads no longer rely on code comments for escaping.popup.js) instead of an inline onclick handler.own_shop_click (Matomo: category own_shop_click).[affilinode_complements id="…"], a block and an entry in the shortcode generator. It shows other devices people often buy in addition (for example a door sensor next to a water sensor), but only pairs you have confirmed as "Goes well with" in affilinode.[affilinode_trip_plan id="…"], a block and an entry in the shortcode generator. It shows the building blocks of a trip you created in affilinode (flight, accommodation, train and more) with a link to the partner for each, with places, dates and number of travellers already filled in. Visitors can switch between your travel periods, and the chosen period stays in the address so it can be shared. The links are marked as ads.[affilinode_software id="…"], a block and an entry in the shortcode generator. It shows the current version, release date, licence and what is new, with links to the maker’s official page and changelog.[affilinode_support id="…"], a block and an entry in the shortcode generator. It shows until when the maker promises updates or support and says clearly when that period ends soon or is already over.[affilinode_packing id="…"], a block and an entry in the shortcode generator. It shows a packing list you created in affilinode, with product suggestions where you added them. Visitors can choose climate and season (or you preselect them with climate and season; controls="0" hides the choice), and the choice stays in the address so it can be shared.[affilinode_buytime id="…"], a block and an entry in the shortcode generator. It puts the current price in context of the price history of the last months (without Amazon prices), shows the next sale days and, for devices with a power label, the running costs per year.[affilinode_seals id="…"], a block and an entry in the shortcode generator. It shows the test marks and eco labels recorded for a product, each with a short explanation, and names the sources where required.affilinode_migration_meta_keys for own fields), reads the country of a link from its address, and removes the 1×1 counting pixel of the old SiteStripe output when it converts a link. A tracking ID ending such as -21 only decides the country where your website serves exactly one matching country.title and title_style now work in [affilinode_offers], [affilinode_button], [affilinode_price_history], [affilinode_products] (title = heading above the cards), [affilinode_compare] (title = heading above the table), [affilinode_compare_picker], [affilinode_spare_parts], [affilinode_accessories] (title with text = own heading) and [affilinode_tariffs]. Until now these attributes were ignored there, so the code generator in the dashboard left them out for WordPress.[affilinode_deals filter="matter=native"] shows only products that have this feature; several values of one feature are separated by commas, several features by semicolons (filter="matter=native;matter_version=1.3,1.4"). Products without the feature are left out. The filter is also available in the deals block and in the shortcode generator.best="90" (only deals whose price is the lowest of the last 7–365 days) and min_offers="2" (at least that many shops with a current price) on [affilinode_deals], in the deals block and in the shortcode generator.usedOffers).[affilinode_product id="…" popup="1"] adds a "Compare all prices" button that opens the comparison with one tab per pack size and the "Used" tab. Native dialog (keyboard, focus trap, Esc), full screen on phones. Off by default; also in the shortcode generator.settings export prints to the standard output; with --file=<name> it writes to wp-content/uploads/affilinode/. settings import reads from there or from the standard input. The MaxMind database is stored in the same folder.affilinode_client_ip.docs="1" shows a "Downloads" list below the box (data sheet, user manual, quick start guide, energy label, declaration of conformity) with links to the original source and, for energy labels, the EPREL entry.cart="1" or cart="0" on product boxes, grids, lists, comparisons, the price comparison and [affilinode_button] (also in the block editor and the shortcode generator). Without the attribute the setting under Display applies as before.view="full" (default), view="compact" ("Phone + tariff": the device and a few tariffs in slim rows) and view="details" ("Tariff details": a data sheet with every known value – provider, network, data allowance, calls and text flat rates, 5G/LTE, speed, EU roaming, Wi-Fi calling, VoLTE, eSIM, multi-SIM, hotspot, term, cancellation, prices, bonus, note of the provider). Values that are unknown are not shown – never guessed as "no".[affilinode_tariffs] can be limited to one provider or network (provider="telekom", network="o2"; also in the block and the generator).variants="0" turns it off, variants="1" still shows the link list for classic parent products.array_is_list(); Plugin Check reported this as an error with 6.4).sanitize_text_field().[affilinode_accessories id="…"] and the block "Accessories" (also in the shortcode generator) show the accessories assigned to a product (case, screen protector, charger, cable, holder …), grouped by type with price and button, like the spare parts box but with its own heading ("Accessories for …"). Accessories are not spare parts: they are sold alongside and fit many devices. Variants show the accessories of their main product. Accessories are assigned in the affilinode dashboard (product → "Accessories", bulk action "Assign as accessory …") or suggested automatically from the product data. Own box type "Accessories" in the click statistics.