(廃止)Amazon OneLink を使えば、グローバルフォーラムでのアフィリエイトリンク作成が格段に簡単になります

このガイドは廃止されました。OneLink は追加のスクリプトなしで動作するはずですが(「はず」と言っているのは、数ヶ月にわたり私や他のユーザーにとって機能しなかったことが、人気ユーザーフォーラムでの関連投稿数によって証明されているためです)

とにかく、これからはこのガイドは不要です。非スクリプト方式が修正されることを願っています!

皆さん、

課題:

私の問題はこうでした。グローバルなフォーラムを持っており、アフィリエイトリンクを適切な Amazon の地域版へ誘導したいと考えていました。理想的には、サポートされている地域リスト内のすべてのクライアントに対応する単一の Amazon リンクが欲しかったです。当初は、すべての製品リンクに対して、米国用、英国用、といったぐたいでごまかしのリンクを用意していました。

考えられる解決策:

  • 公式の discourse-affiliate プラグイン?正直なところ試していません。
  • 最近登場した新参者:Amazon の OneLink。一見すると米国アフィリエイトドメインのウェブサイトからのみ利用可能に見えますが、米国以外の方でも気にしないでください。

OneLink を使用する利点:

  • 導入は、テーマコンポーネントを追加するだけで済み、その点ではシンプルで影響が最小限に抑えられます。

Discourse での OneLink の使用方法:

  • /body セクションの閉じタグの前に、OneLink スクリプト用の テーマコンポーネントを追加 する必要があります。「&」によるエラーは無視してください。これを %26 に変更すると、スクリプトが奇妙に動作しなくなります。以下のような形式です:
    <!DOCTYPE html><div id="amzn-assoc-ad-blah-blah-code"></div><script async src="https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=blah-blah-code"></script>
  • そのテーマコンポーネントを、ユーザーが選択可能なすべてのテーマに追加してください。
  • 重要: Amazon の商標をローカルで使用するのを禁止するアフィリエイト契約を破らないようにするため、onebox domains blacklist 設定を使用して、すべての Amazon リンクに対する one-boxing をブラックリスト登録してください。リンクは機能しますが、見た目は少し劣ります。ただし、公式のアフィリエイトリンクに置き換えることは可能です。
  • 契約書を十分に読み込んでください。「Amazon のアソシエイトとして…」という契約書に準拠し、必要な免責事項を目に見える形で明確に表示してください。
  • また、アフィリエイトリンクに含まれる Amazon の画像 URL もブラックリスト登録して、それらの画像がローカルにアップロードされるのを防いでください。これはアフィリエイト契約の条件に違反する可能性があります。disabled image download domains 設定を使用してください。

リンクにはあなたの ID とアカウントキーが含まれていますので、実際のコードは OneLink ウェブページから取得してください。

完了すると、ウェブサイト上の Amazon リンクをクリックするたびに、以下の 2 つのことが行われます:

  • アフィリエイト経由であることを登録する
  • クライアントのブラウザで新しいタブを開き、最後にログインした Amazon ウェブサイトの地域(おそらく自宅のショップ)へ誘導する

次に、OneLink ウェブサイトを読んで、サポートされているすべての地域で ID を登録し、それらを米国アカウントにリンクしていることを確認してください。

私は、それぞれの地域で「クレジット」が取得できると信じています。Amazon はこの点について少し不明確ですが、もっと経験が蓄積したらこのガイドを更新します。

制限事項:

  • 明らかに Amazon しかサポートしていません。
  • クレジットが 1 か所で合算されるわけではなく、地域ごとに蓄積されます。
  • 厄介なことに、プライマリリンク(例えば米国)も開いたまま残るようで、フォーラムに戻るにはそこから戻る必要があります。
  • アドブロッカーを使用しているユーザーには機能しない可能性があります。

これが役立つことを願っています!

このガイドに関するご質問やフィードバックを歓迎します。

「いいね!」 12

So just an update. After a little bit of experience and having my account closed once, I’ve done the following:

  • Amazon one-boxing remains blacklisted so as not to generate unauthorised trademarked images locally.
  • I’ve been very careful to make the required disclaimers visible and obvious as per the agreement “As an Amazon Assoc …”
  • I’ve also ‘blacklisted’ Amazon’s image sources to prevent local uploading of images from Amazon to prevent any rule transgression. This has the added benefit of saving you server space and leveraging their CDN presumably :slight_smile:

Added this to the guide above.

「いいね!」 7

Hi Robert,

Now we’re working on Amazon OneLink, and have some questions for you.
Q1: Do you mean we need to create our own Theme component for the OneLink? Can you give me the Theme component template?

Q2: We got the error about the ‘Named entity expected. Got none.’ from the Amazon OneLink Script. And how to fix this error?

We tried many way with Amazon OneLink, but now it’s not working. We look forward to hearing from you soon. Thank you very much for your time.

Sorry to hear you are having some frustrations :slight_smile:

Yes, and you’ve already quoted it above, it’s just that single entry in /body making sure you update the id and InstanceId . Looks like you’ve done that. It’s so simple I’ve not even bothered to host it on GitHub. However …

You have not copied the example exactly. You are missing https:. I’m not sure if that’s the issue though, but just pointing that out. Try adding it. I get warning errors on the Theme editor but it still works, try ignoring them (so long as you can save).

Hope that helps! :slight_smile:

「いいね!」 1

Hi Robert,

Thanks for your reply. It’s a big help.

Let me come back to the first Question. I changed the ‘&’ to ‘&%26’, there is no error in this script. Is it correct for the component.

I have another question. Is the OneLink only for tracking the international advertising to link the US account, Not showing the advertising on the website, right? We still need to copy and paste the Amazon Advertising (Banners, Product Links etc) on our website.

Actually, I think this may be unnecessary, apologies I might remove it from the OP. Try it with just & - ie do not change it.

It is for tracking internationally (hence ‘one-link’) Remember to link your international amazon affiliate accounts on Amazon Affiliate .com. Follow their guide

Yes, this is manual with this approach, but you can automate with some home grown javascript. Experiment! I’ve used the Custom Layout Plugin and the html widget to rotate adverts on the side from a hand-picked list. Get the raw links from the Site Strip on Amazon by logging into it with your affiliate account. Be wary that some products are not available in all regions.

image

「いいね!」 2

I got it. Thank you very much for your tips. I will try it on my website papasasa.com

「いいね!」 2