Advertisement
Skip to content

Amazon Associate tag loss: why plugins remove it and how to keep it intact

By Updated 8 min read

Some links on this site are affiliate links: if you buy through them we may earn a commission, at no extra cost to you. We also make Ama Affiliate Pro and Ama Affiliate Ultra and say so wherever we mention them. We recommend a tool only where it fits the job.

On this page (8 sections)
  1. The short version
  2. Why Amazon Associate tags vanish when plugins redirect or modify links
  3. Which plugin settings affect tag preservation
  4. How to configure or customize plugins to retain the affiliate tag
  5. Testing that the tag remains through link clicks
  6. How to keep Amazon Associate tag when using plugins
  7. Common mistakes when trying to keep Amazon Associate tags intact
  8. Questions people still ask

In short: Amazon Associate tags disappear mainly because plugins redirect or rewrite links without preserving query parameters. To keep your tag intact, configure plugins to whitelist or append the tag explicitly during link modification or redirection, especially in affiliate link managers.

Part of our guide on create amazon affiliate website

Most affiliate link plugins strip Amazon Associate tags during redirects; learn exactly how to configure or customize plugins to keep your tag intact and commissions safe.

At a glance
Amazon tag formattag=yourtag-20
Common redirect pluginsPretty Links, ThirstyAffiliates
Plugin redirect types301, 302, JavaScript
Affiliate tag parametertag
Testing methodManual click-through

The short version

  • Amazon tags often vanish due to plugin link redirection or rewriting.
  • Check plugin settings that handle URL parameters and link cloaking.
  • Manually whitelist or append the tag parameter in plugin configurations.
  • Test links after plugin changes to confirm the tag is active.
  • Ama Affiliate Pro automates tag preservation and link monitoring.

Why Amazon Associate tags vanish when plugins redirect or modify links

Amazon Associate tags are query parameters appended to product URLs to track commissions. Plugins that redirect or rewrite links often strip or fail to preserve these parameters, causing tag loss.

Redirection plugins use server-side 301 or 302 redirects or JavaScript-based redirects. If the plugin does not forward all query parameters, the affiliate tag can be dropped, severing the link to your account.

Another cause is URL cloaking, where the visible link masks the destination URL. If the cloaking does not handle parameters correctly, the tag is lost. Some plugins overwrite links with shortened or masked links that omit the tag.

Tags vanish more often if plugins automatically replace links from plain URLs without special handling for affiliate tags. The other half of this decision is cloaked amazon links comparison.

Which plugin settings affect tag preservation

WordPress link settings screen with URL parameters
WordPress link settings screen with URL parameters

Most affiliate link plugins have settings controlling whether and how URLs keep their query strings. Look for options labeled “preserve query parameters,” “pass URL parameters,” or similar.

Link cloaking or shortening settings may rewrite links, so check if they have exclusions or whitelists for Amazon domains to avoid stripping tags.

Some plugins allow you to specify parameters to always keep, such as 'tag' for Amazon Associate links. Enabling this ensures the tag passes through unaltered. If that sounds like your situation, read up on how to auto replace out of stock product links next.

Redirect types also matter: 301 redirects typically preserve parameters, while JavaScript or meta-refresh redirects may drop them unless configured correctly.

In some plugins, the method of handling URL parameters may differ based on the plugin version or updates, so always verify after upgrading. For example, a plugin might enable parameter preservation in the free version but require a premium upgrade for custom parameter whitelisting, affecting your ability to keep the 'tag'.

Another setting to check is whether the plugin has options to merge parameters from the original URL with those added by the plugin. If merging is off, your affiliate tag might be overwritten or dropped. Enabling parameter merging helps retain your Amazon Associate tag alongside any plugin-added parameters. We cover why my amazon affiliate tag drops after redirect in its own article.

  • Preserve Query Parameters– enable this to keep tags
  • Whitelist Amazon domains– exclude them from link rewriting
  • Specify ‘tag’ parameter– force retention during redirects
  • Choose redirect method– prefer server-side over JavaScript

How to configure or customize plugins to retain the affiliate tag

Start by identifying where your plugin manages Amazon links. Often this is in a dedicated settings area under affiliate links or redirection.

Manually add ‘tag’ to any parameter whitelists the plugin supports. This tells the plugin to keep this query parameter during link processing.

If your plugin rewrites or cloaks links, make sure it does not replace your Amazon URLs wholesale, or exclude Amazon domains from this process. If that sounds like your situation, read up on prevent broken affiliate links next.

For plugins without built-in support, add a custom filter or hook in your theme’s functions.php file or a snippets plugin to append the tag.

Use debug tools or browser developer tools to inspect outgoing links and verify the tag is present.

Ama Affiliate Pro, for example, includes settings to manage link health and preserve query parameters automatically, easing this configuration. Before you commit to anything, it is worth looking at amazon affiliate link checker.

  1. Access your plugin’s affiliate link or redirect settings.
  2. Locate query parameter whitelist or preservation options.
  3. Add ‘tag’ as a parameter to preserve during redirects.
  4. Exclude Amazon URLs from cloaking or rewriting features.
  5. Save changes and clear caches if applicable.
  6. Test your links with manual clicks to confirm the tag is present.
Plugin settings page showing affiliate link options
Plugin settings page showing affiliate link options

Testing confirms your configuration works and that commissions will be tracked. The simplest method is manual click-through testing.

Copy a published affiliate link from your site and paste it into a browser’s address bar. Make sure the URL includes your Amazon Associate tag parameter (tag=yourtag-20).

Click the link and observe if the tag stays in the URL after any redirects. Some redirects remove visible query parameters but preserve them invisibly; this can be checked in browser developer tools under network requests. We go through maintaining affiliate tracking duration step by step elsewhere on the site.

Use Amazon’s Site Stripe toolbar or your Associates dashboard reports to check if clicks register with the tag intact.

Automated link health monitoring tools can periodically verify tag presence at scale.

  1. Find a published affiliate link on your site.
  2. Check the link contains your Amazon tag parameter.
  3. Click the link and note the URLs in the browser address bar after redirects.
  4. Use developer tools to inspect network requests for the tag parameter.
  5. Check your Amazon Associates dashboard for recorded clicks.

How to keep Amazon Associate tag when using plugins

To keep your Amazon Associate tag intact when using plugins, configure your WordPress affiliate or redirect plugins to explicitly preserve the ‘tag’ query parameter.

Choose plugins that allow you to whitelist parameters or exclude Amazon URLs from link cloaking and rewriting.

If using Ama Affiliate Pro, it automatically monitors and maintains affiliate links, including preserving tags through updates and link health checks.

Alternatively, manually add custom code snippets to append or preserve the tag if your plugin lacks native support.

Test all affiliate links regularly to verify the tag is intact, especially after plugin updates or changes.

This approach prevents lost commissions caused by missing tags in modified URLs.

When using multiple plugins, such as a caching plugin in combination with an affiliate link manager, conflicts can cause unexpected removal of the Amazon Associate tag. Caching plugins might serve cached pages with outdated or stripped URLs, so configure caches to bypass URLs containing affiliate parameters or clear caches regularly after changes.

Some WordPress themes or page builders insert their own link handling scripts that might interfere with query parameters. To keep the Amazon Associate tag intact, check for theme or builder settings that manipulate links and disable those features or add exceptions for Amazon URLs.

If you rely heavily on social media sharing plugins, be aware that some shorten or modify outbound links, potentially stripping query parameters. Choose social sharing tools that support custom URL parameters or configure them to preserve the 'tag' when sharing Amazon links.

Common mistakes when trying to keep Amazon Associate tags intact

Settings screen with query parameter whitelist open
Settings screen with query parameter whitelist open

Assuming plugins automatically preserve affiliate tags without checking settings is a primary mistake.

Not testing links after plugin changes leads to unnoticed tag loss and lost commissions.

Overusing cloaking or link shortening without verifying parameter retention can strip tags.

Failing to exclude Amazon URLs from aggressive link rewriting or caching plugins.

Ignoring plugin or theme conflicts that might alter URL parameters.

  • Assuming default plugin behavior– manually verify settings.
  • Skipping link testing– always test after changes.
  • Over-cloaking links– cloak selectively, exclude Amazon.
  • Ignoring caching effects– clear caches after edits.
  • Not updating plugin configurations– review after updates.

Questions people still ask

Why does my Amazon Associate tag disappear after using a link cloaking plugin?

Link cloaking plugins may mask URLs by replacing them with different addresses that omit query parameters like 'tag.' Unless configured to preserve these parameters or exclude Amazon URLs, your tag will vanish during the cloaking process.

Can all WordPress affiliate plugins preserve Amazon Associate tags by default?

No, many plugins require manual configuration to whitelist the 'tag' parameter. Some do not support preserving query parameters at all, so you must check plugin documentation or settings carefully.

How can I test if my Amazon Associate tag is active through redirects?

Manually click your affiliate link and watch the URL in the browser’s address bar. Use developer tools to inspect network requests and confirm the 'tag' parameter is present after any redirects.

Is there a plugin that automates keeping Amazon tags intact without manual setup?

Ama Affiliate Pro is designed to manage Amazon affiliate links, monitor link health, and automatically ensure your tags remain intact during updates and redirects.

What happens if my Amazon Associate tag is lost on a link?

Lost tags mean your referral commissions are not credited. Even if customers buy products, without the tag, Amazon won’t link the sale to your affiliate account.

Ready to try it? It automates preserving Amazon Associate tags and monitors link health, preventing commission loss due to broken or modified links.

Try Ama Affiliate Pro free
Sophie Adams Editor

Sophie edits My Digital Buy. Guides are written from each product's own sales page, pricing page and documentation, and say what each tool is good for and what it is not. We make Ama Affiliate Pro and Ultra ourselves and say so wherever we mention them.

More in Affiliate Marketing