Archived topic
Best Practice: Adding Affiliate Links
7 replies · Started by Felix on November 3, 2020
Hello Team GP,
I noticed on some websites, that they display affiliate links in content as internal links (www.yoursite.com/refer/partnersitename), which basically seem to forward you to the partners-website.
Could I kindly ask for your advice on how to implement sth similar within GP Premium. I also use GenerateBlocks from time to time. Your opinion is highly appreciated.
Best regards,
Osman
Hi there,
I believe a hook element would be what you are looking for:
https://docs.generatepress.com/article/hooks-element-overview/
Let me know if this helps :)
Hiya,
I am not sure, how I'd be able to make affiliate links "pretty" with hook-elements: is there any documentation?
If not, I shall opt for a plugin, although I am trying to avoid adding a plugin for every feature.
Cheers
Do you have an example of what "pretty" affiliate links look like?
amazon.de/dp/B00NTQ6K7E?tag=YOURAFFILIATE-ID
shows as
yourwebsite.com/recommend/amazon-audible
when you hover the mouse on yourwebstite.com
I noticed a few bloggers doing it...
Sorry I went to this page but not sure what I'm looking at here:
https://www.amazon.de/dp/B00NTQ6K7E?tag=YOURAFFILIATE-ID
Can you take a quick screenshot?
https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots
I think, I was not able to communicate correctly, what I am looking for... Those links above are irrelevant, I was just trying to give an example.
This article explains very well, what I am looking to achieve:
https://www.wpbeginner.com/beginners-guide/beginners-guide-on-how-to-add-a-link-in-wordpress/#linkaffiliate
I will opt for one of those two plugins suggested in the article (Pretty Links or ThrirstyAffiliates), unless Team GP has a better suggestion, on how to implement those redirects.
Cheers
An actual example of what you are trying to achieve might be the easiest.
Let me ask a couple of questions first:
- Is the link always the same?
- Where are you trying to add it? below the post title on single posts?