Site icon Travelpayouts Blog – Travel Partnership Platform

Travelpayouts Money Script: How to Turn All Website Links Into Affiliate Links

⚠️ Please note: as of 2023, the Money Script tool has been replaced by LinkSwitcher. This enhanced solution allows you to effortlessly replace links to brand sites with Travelpayouts partner links.

Money Script is still functional and supported, but it will no longer receive updates. Therefore, we highly recommend utilizing LinkSwitcher to maximize your earnings with the Travelpayouts platform. For more information about the LinkSwitcher tool, read our article.

How Travelpayouts Money Script Works

In order to use the script, you need to be registered in Travelpayouts first (if you do not already have an account) and join the travel affiliate programs with which you want to earn. 

Join the Travelpayouts partnership platform

Streamline your travel blog's financial success.

Join today
480,000 partners already trust us
$63M+ total paid since 2011
100+ travel brands

Once registered, add the script to your site. Below you will find a step-by-step guide on how to run a script. After you add the script, when a user clicks on a link on your website’s page, your Travelpayouts partner ID is automatically affixed to it. That is, the link becomes an affiliate and all clicks/reservations are taken into account — a reward is charged to you.

The script can handle both unlabeled links like http://kiwi.com/, and affiliate links, such as https://booking.com/?aid=1792345.

Using the additional parameters, Include and Exclude, you can add rules and exceptions, such as which links the script will convert and ignore.

Who Can Use Travelpayouts Money Script?

Travelpayouts Money Script is a tool for website owners. If you can change the code of your website, you can use the script. It’s useful in many cases, for example:

How to Run a Script

  1. Sign up for Travelpayouts (if you do not yet have an account).
  2. In your Travelpayouts account, find out your unique ID. It is located in the upper right corner.
How to find your affiliate ID in the Travelpayouts personal account
  1. Add the script on the site between the <head> and </head> tags. If you have any other scripts installed, it is better to put Money Script last.

⚠️ Please note: as of 2023, the Money Script tool has been replaced by LinkSwitcher. This enhanced solution allows you to effortlessly replace links to brand sites with Travelpayouts partner links.

  1. Add your ID from the Travelpayouts account for the “marker” parameter.
  2. After a few days, you can check the statistics in the “Reports” section. If users interacted with the affiliate tools, then you will see it in the statistics.

IMPORTANT: During the pages load, the script receives a list of brands you are subscribed to in Travelpayouts. We only process links to the programs with which you subscribed. The more programs you subscribe to in Travelpayouts, the more opportunities you have to earn.

How to Check a Script

You can check the script before installation by executing the command indicated below once in the browser console. After reloading the page, everything will return as it was.

Optional Parameters

If Something Doesn’t Work…

If you encounter problems or errors, write to support@travelpayouts.com.

Key Benefits of Travelpayouts Money Script

  1. Easy to install. You will need no more than 30 minutes. If you have problems, write to Travelpayouts support.
  2. Flexibility. You can exclude links/programs with which you do not want to turn by the script.
  3. The ability to monetize any content type. Even user-generated content.
  4. Links look natural for the users. There is no need to use shorter before posting affiliate links to make them look more attractive.

To learn about other Travelpayouts tools and how you can use them to boose your income, join Travelpayouts Academy.

Exit mobile version