(Obsoleto) Use Amazon OneLink para tornar links de afiliados em fóruns globais muito mais fáceis

Este guia está obsoleto. O OneLink deveria funcionar sem scripts adicionais agora (digo “deveria” porque, há muitos meses, ele não tem funcionado para mim e para outros, como comprovado pelo número de postagens sobre o assunto em um fórum popular de usuários)

De qualquer forma, como tal, você não precisa mais disso. Vamos torcer para que eles corrijam a solução sem script!!

Pessoal,

Desafio:

Este era o meu problema. Tenho um fórum global e queria direcionar as pessoas para o locale correto da Amazon para meus links de afiliado. Idealmente, eu queria um único link da Amazon que atendesse todos os meus clientes globalmente dentro da lista de territórios suportados. Originalmente, eu tinha uma solução improvisada: um link para os EUA, um para o Reino Unido… para cada maldito link de produto que eu tenho…

Possíveis soluções:

  • O plugin oficial discourse-affiliate? Ainda não tentei, para ser sincero.
  • O novo na cidade: OneLink da Amazon, disponível aparentemente de forma exclusiva no site do domínio de afiliados dos EUA, mas não deixe isso te desencorajar se você for de outro lugar…

Vantagens de usar o OneLink:

  • Para instalar, é necessário apenas adicionar um Componente de Tema, o que torna tudo muito simples e de baixo impacto nesse aspecto.

Usando o OneLink no Discourse:

  • Você precisa adicionar um Componente de Tema para o script do OneLink antes da tag de fechamento do corpo na seção /body. Ignore o erro devido ao ‘&’: se você mudar isso para %26, o script quebrará de forma estranha. Algo como:
    <!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>
  • Adicione esse componente de tema a todos os temas selecionáveis pelos seus usuários.
  • IMPORTANTE: para evitar violar seu contrato de afiliado, que proíbe o uso de marcas registradas da Amazon localmente (exceto quando obtidas em tempo real de seus servidores), bloqueie o one-boxing para todos os links da Amazon usando a configuração onebox domains blacklist. Os links ainda funcionarão, mas serão obviamente menos bonitos; no entanto, você pode substituí-los por links de afiliado oficiais.
  • Leia o contrato cuidadosamente. Torça as declarações obrigatórias visíveis e óbvias, conforme o contrato “Como um Associado da Amazon…”.
  • Considere também bloquear as URLs de imagens da Amazon incluídas nos links de afiliado para evitar que essas imagens sejam carregadas localmente; isso pode violar os termos do seu contrato de Afiliado. Use a configuração disabled image download domains.

O link contém seu ID e chaves de conta, então, por favor, obtenha o código real na página do OneLink.

Uma vez feito isso, sempre que você clicar em um link da Amazon no seu site, ele deve fazer duas coisas:

  • registrar que veio através da sua afiliação;
  • abrir uma nova aba no navegador do cliente no locale do último site da Amazon em que eles fizeram login, de preferência a loja local deles.

Agora você precisa ler o site do OneLink e garantir que você se registrou para um ID em cada um dos locales suportados e os vinculou à sua conta dos EUA.

Acredito que você ainda recebe “créditos” em cada locale — a Amazon não está muito clara sobre isso —, mas atualizarei este guia assim que tiver mais experiência com isso.

Limitações:

  • Claramente, ele suporta apenas a Amazon…
  • Não consolida seus créditos em um único lugar; eles ainda são acumulados por região.
  • Irritantemente, parece deixar o link principal (digamos, dos EUA) aberto também, então você precisa voltar a partir dele para retornar ao seu fórum…
  • Pode não funcionar para usuários com bloqueadores de anúncios ativados.

Espero que isso ajude!

Qualquer dúvida ou feedback sobre este guia é bem-vindo…

12 curtidas

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 curtidas

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 curtida

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 curtidas

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

2 curtidas