affiliate ads: How to easily implement them in WordPress and get more revenue

By integrating affiliate ads into your website, you are able to offer your visitors a broad range of accommodation options, from apartments to hotels to resorts. The company pays competitive commission rates and provides user-friendly tools. But by far the best asset that helps you earn a passive income is the trust that the brand enjoys in the travel industry. logo

In this tutorial, I will walk you through the entire process of integrating ads into your WordPress website step by step. I will cover everything from signing up for the affiliate program to creating ad placements. I will also share proven tips for optimizing your content for maximum earnings using Advanced Ads. 

Whether you are a seasoned publisher or new to affiliate marketing, this tutorial will provide the knowledge and skills you need to successfully integrate affiliate ads into your WordPress website and start earning commissions today.

Which type of website matches the affiliate program best?

The affiliate program is an excellent match for websites that focus on travel, tourism, and destination-related topics. This thematic focus includes websites offering travel guides, accommodation reviews, sightseeing tips, and other travel content.

The hotel platform operates globally and offers properties in over 220 countries and territories worldwide. This allows you to provide your visitors with a vast selection of accommodations for all budget classes, including budget-conscious and luxury-seeking travelers, no matter where they travel.

Example: Inspiring search box
Example of an affiliate ad widget from

4 Reasons at a glance why is a great affiliate partner

  • an immense range of accommodations from nearly all over the world, including hotels, resorts, apartments, and many more
  • competitive commission rates for every successful booking made through your website (25-40% of the commission receives for each booking)
  • a trusted brand with a strong reputation, resulting in a reasonable conversion rate
  • a user-friendly platform, including marketing tools, data insights, and dedicated account managers, making affiliate marketing comfortable for publishers

Video: 2:22min
Click on the preview image to load and start the video from YouTube. By clicking you agree that your information will be sent to and processed by YouTube, LLC, 901 Cherry Avenue, San Bruno, CA 94066, USA. Read more

Overall, if you run a travel or destination-related website with a global audience, the affiliate program will very likely be a perfect match for you.

Signing up for the partner program

Here are the step-by-step instructions for signing up for the affiliate program as a blogger or website admin.

  1. Go to the affiliate partner page
  2. Enter the required information, including your name, email address, and website URL.
  3. Create a password and select your preferred currency.
  4. Choose your favored payment method, e.g., bank transfer or PayPal.
  5. Complete the registration by clicking the “Sign up” button.
  6. Click on the activation link in the email from and log in to the affiliate partner dashboard. affiliate program sign-up

Now, your website has been successfully registered. 

Once logged in, you have the ability to create and add ads to your website and earn commissions on bookings made through your affiliate links.

The ad widgets of

In the affiliate backend > Products, you will find a section with different ad widgets that you can customize for your site. In the following section, I’ll show you what these widgets look like and how to fit them to your website during their creation process. affilliate widgets
The affiliate ad widgets


The Banner widget comes in three different picture motives that you may choose from. To adjust the copy of the ad widget, choose one of more than 40 languages. The banner builder allows the following standard sizes:

  • 120×600
  • 200×200
  • 250×250
  • 300×250
  • 468×60
  • 728×90

After creating the banner, you will see a field with the ad code. You will need to copy this ad code later. But first, let’s look at the other ad widgets provided by banner ad widget
Create and customize branded affiliate banners for

Deals Finder’s Deals Finder widget is a helpful tool to display the best deals for a specific region or city. You are able to customize the layout to match the design of your website. 

Clicking on this ad leads to a search result page. Visitors can use filters and sorting options to find suitable accommodation deals on that page. 

For example, assume that you promote hotel deals for New York City. Visitors who click the ad will see search results for New York City and can then sort them by price, review score, distance from popular attractions, and other criteria. Deals finder widget
Customization options of the Deals Finder widget

The Inspiring Search Box displays stunning travel images that users can click on to explore destinations and experiences. The search box allows users to enter their destination, travel dates, and the number of guests and then displays a list of properties that match their search criteria. 

This widget looks beautiful, but it cannot display individual cities. After picking a country, the widget presents images of its three most popular locations. Consequently, embedding this ad widget into content related to the most frequently visited destinations is the best monetization strategy for the Inspiring Search Box. Inspiring Search box
Customization options of the Inspiring Search Box

Map widget

The Map widget is helpful for showcasing accommodations on an interactive map along with their prices, ratings, and availability. It lets users explore different locations and find suitable accommodations based on their preferences, budget, and travel dates. 

Example: Map widget
The Map widget helps users to localize accommodations

The Search Box widget displays a simple search form where users can enter their destination, travel dates, and the number of guests. After submitting the form, users are presented with a results page that lists properties matching their search criteria. Search box
Customization options of the Search Box

This widget is easy to set up. You may customize it to match the design of your website.

Review Score widget

The Review Score widget displays the overall review scores and the number of reviews of particular properties. Cleverly inserted, e.g., above a call to action element in a hotel review or a comparison table, it can make your recommendation more trustworthy.

You have the ability to slightly customize the Review Score widget to match the design of your website. Review score widget
The Review Score widget makes your recommendation more trustworthy

Car Rental widget

The Car Rental widget is designed to help users find the best car rental options for their trip. Signing up for the subsidiary affiliate program is required to use this widget.

You can create a search box that allows users to enter their pick-up location, drop-off location, and travel dates. Then, it displays a list of car rental options that match the user’s search criteria, including information about the car, price, and ratings. also provides a basic banner builder. I get the best results with the search box or text links integrated in the content.

Renalcars banner example
Example of a Rentalcars rectangle banner

How to embed the ad widgets into WordPress

Now that we’ve looked at’s official ad widgets, we’ll deal with their integration into your website in the following section. I will work on a concrete example for this. But the necessary steps for integration are identical for all ad widgets from the affiliate program.

Create an ad widget in your affiliate partner backend of

In your affiliate account at, navigate to Dashboard > Products and select the ad widget you want to create. Finalize all settings and retrieve the ad code. Copy the code to your clipboard.

I’m using an Inspiring Search Box widget for this example.

Inspiring Search box ad code
Copy the ad code to your clipboard

Copy the code into a new ad unit

Next, go back to your WordPress backend and navigate to Dashboard > Advanced Ads > Ads, where you click the button to create a new ad.

Give the ad a name to quickly identify and find it later. 

Select the Plain text and code type and paste the ad code from your clipboard into the Ad Parameters field.

Then, publish the ad. 

Example of the ad code for the Inspiring search box
Copy the ad code into a new ad unit in Advanced Ads

Place the ad on your website

The last step is to insert the ad into your content. For example, use a placement and insert it automatically into all your pages.

Advanced Ads Placements to show the ad widget
Choose a placement to auto-inject your ad unit into the content of your website

I have chosen to automatically integrate my ad with a Post Content Injection placement for this example.

Placement to auto-inject the Inspired search box
Using a Post Content placement

If you instead prefer to insert it manually into the post or page, copy this ad’s shortcode or PHP function and paste it in the appropriate place.

This manual provides more detailed instructions about positioning ads using placements, shortcodes, widgets, or PHP functions.

Example of the Inspiring search box in the frontend
Auto-injected affiliate ad widget from

In the Affiliate backend, you can find a separate section for creating text links under Products > Affiliate Links. Since you should proceed slightly differently when implementing them than with the ad widgets mentioned above, I will describe their best use in a separate part of this tutorial.

The deep link builder provided by allows you to generate links to your desired target page with just a few clicks. 

Available text links

You can define what kind of landing page on you want to link to with the affiliate link. Choose from the following link targets:

  • airport pages
  • city pages
  • district pages
  • hotel pages
  • island pages
  • region pages
  • generic landing pages (Apartments, resorts, villas, B&B, guest house landing pages)

The type of landing page determines whether the user lands on the subpage for a specific lodging or on a search results list with accommodations of a particular region.

Example of the Affiliate link builder widget
Options to set up affiliate links for

When choosing the link type, take into account the content in which you will integrate the affiliate link. The rule of thumb is that the link target should be as specific as the content where you publish it.

So, if you publish the link in a review for a specific hotel, e.g., the Hyatt Place New York City, the link should lead directly to the page of that hotel. On the other hand, if you implement a link on a page with tips for a stay in New York City, it makes more sense to link to the city page that shows different available accommodations, not just one specific hotel.

After you have made all the settings, click on the “Show a list of Links” button, where you can then copy your link. Since I have chosen the landing page of a city site, here I get a selection of available landing pages.

If the city I want to generate a deep link for was not in this selection, I would change the landing page type from “Landing Page” to “Search Result page” and specify the desired city in advance.

Example of target URLs to city landing pages
Choose a city and copy the link to a dedicated city landing page

Text links don’t work well in traditional banner spaces because they are too unobtrusive for that. The closer they are to the content, the better they perform. Ideally, these links are even part of your texts. Therefore, including these links manually using their shortcodes is a good idea.

Example of a affiliate text link
Example of an affiliate text link within the content

The first thing to do is to create an ad with the text link. So, please copy the link you want from’s link generator, navigate to Advanced Ads > Ads, and paste it into a new ad.

Select the Plain text and code or the Rich Content ad type and choose a name for the ad that allows you to quickly identify it later, e.g., Hyatt Place New York City or Textlink City Page New York.

Example of creating a new ad unit for a text link
Creating a text link in Advanced Ads

Save the ad and copy the shortcode.

Then, open the post where you want to embed the link and add the shortcode within the text. 

Your ad should be visible in the frontend now.

But that’s not all. You can do much more with text links than integrating them into the text of your articles.

For example, you are able to embed them into overview tables to recommend selected hotels of different budget classes on destination pages.

Example of a comparison table with hotel bookings
Example of a comparison table for multiple accommodations

Plugins like TablePress set hardly any limits to your fantasy and let you create a table or an infobox with a booking link with just a few clicks.

Another proven concept is to add a affiliate link to a button or any other call-to-action element. You can use the standard block editor of WordPress to create this ad code and manage such buttons with Advanced Ads afterward. See our manual for further instructions on styling ads with the block editor.

Using affiilate links in call to action elements
Example for the integration of affiliate links from

Productivity tip: Duplicate ads

If you monetize a site with affiliate links from and create a separate ad for each link, the number of ads you need to make can quickly skyrocket. Because instead of a static banner or search box, you’re suddenly faced with creating multiple ads with affiliate links.

For example, if you embed affiliate links in a post about the ten most luxurious hotels in New York, you will need to create one ad unit for each affiliate link. On my destination pages, I quickly come up with several hundred such text links, mind you, per page!

At this point, you can speed up your workflow with an unpretentious feature from Advanced Ads Pro that allows you to duplicate ads. With one click, you’re able to clone an existing and carefully titled ad unit. Then, swap the target link, change the ad title, and copy the shortcode into your content or table. The Duplicate ads feature sounds trivial, but it saves an incredible amount of time in the long term when creating numerous similar links.

Duplicate an affiliate link
Duplicating ads is a time saver and streamlines your workflow

Target Affiliate ads

When creating effective ads, it is essential to target your ad units. Targeting means ensuring that the right people, who are most likely interested in what you offer, see a specific ad. This can increase the chances of users clicking on your ads and booking accommodation.

Advanced Ads allows you to set specific conditions that dictate where and when your ads appear. For example, you can display ads only on posts within a particular category or those containing exact keywords. By using these tools, you may improve the relevance of your ads and increase the chances of conversion from your target audience.

Let’s remember this and go back to our New York City example. Suppose you want to optimize the performance of a Deals Finder widget for New York City by embedding this only in posts related to the city. In this case, you could add a display condition like Category or Post Content to ensure that the ad appears only in posts belonging to that category or containing the keyphrase “New York”.

Targeting affiliate ads
Use display conditions to target affiliate ads to specific posts and pages

Targeting via conditions is only relevant to auto-injection, for example, if you integrate ads into groups and insert them into your content via placements. Further condition settings are unnecessary if you place ads directly via shortcode, e.g., as text links directly in the content or your tables.

Track the performance of affiliate ads

After integrating your affiliate links and ad widgets, check the frontend to see if everything works correctly. After that, it’s time to wait and see if your users interact with the ads and make bookings. In this stage, knowing which ads users click on and which ones lead to sales is crucial.

If you embed the ad widgets, you can see their performance in the reports. One exception is that the text links do not appear there. 

I recommend using Advanced Ads Tracking simultaneously to monitor the text links’ performance. If you additionally connect the Advanced Ads tracking with Google Analytics, the collected data will go far beyond what you find in reports. Combining both reports allows you the best possible analysis of your ad performance. 

See the clicks on various ads in Google Analytics
See clicks on your ads and analyze them

For example, you can analyze in which posts users clicked on’s ad widgets. This way, you may identify content not working well for these ads and test different banners.

The reports

As mentioned, offers a dedicated reporting system where you can analyze the performance of all ad widgets (except text links). Find it under Dashboard > Reports > Product Reports.

There, you are able to retrieve the following data for each created ad widget:

  • Impressions
  • Clicks
  • Click-through-rate (CTR)
  • Assisted Bookings
  • Assisted conversion rate report for affiliate products

Tip: Use labels

You can automatically define a label for each ad or text link when you create it, which the generator will include as a parameter in the URL. These labels form one of the few criteria in the reports that let you learn more about how a particular booking came about.

For example, the label for the link to the hotel in New York could be Hyatt-Place-Review. reports including ad labels lists the ad label in the Transactions report and shows through which links a booking was made

The Advanced Ads Tracking

Use the Tracking add-on to measure the impressions and clicks of all ad widgets, including your affiliate text links ads.

As mentioned above, if you combine the Advanced Ads tracking with Google Analytics, your insights will go far beyond that.

Tracking a textlink using Google Analytics
Connect the Advanced Ads Tracking with Google Analytics for deeper analysis, e.g., on which page was a specific click made

The Ad Label option, already recommended above, is also selectable when generating text links. This way, you can associate bookings with selected links to which you add this label.

Since text links do not appear in the product report of the affiliate program, you should use the Tracking add-on to monitor their performance. Optionally, the add-on allows you to use our much prettier and shorter tracking links.

You are able to optionally mask text links so that they follow a fixed and tidy link structure and look more editorial.

For example, this would change the link to the prettier, shorter version:

To track masked text links, you must modify their code and replace the link with the specific placeholder %link%. Paste the target URL link into the URL field below instead. Find more details about how to use this placeholder in the Tracking documentation.

Example of how to cloak an affiliate link
Use the placeholder to mask and track your text links

Proven strategies for affiliates

There are several proven strategies and tricks that affiliates can use to increase their sales and earnings. Here are a few examples:

Place ads in attention-grabbing positions 

Besides the Tracking add-on, other extensions like Popup and Layer ads or the Sticky ads add-on can be helpful when integrating and optimizing’s affiliate ads.

Both add-ons provide additional placements with high click-through rates. A clever selection of well-targeted ad widgets on these placements and continuous optimization can significantly increase your revenue potential.

Identify the most profitable ad widgets

Unfortunately, I can’t make general statements about which ad widget from the portfolio of the affiliate program performs best and triggers the most bookings. While researching this tutorial, I found other reports where formats worked well that didn’t get any clicks at all on my websites. So, as is often the case, it’s advisable to test thoroughly. Try the different ad widgets in split tests to see which ones get clicked and lead to bookings. This way, you can identify widgets with weak clicks and remove them from your ad rotations.

Target ads as perfectly as possible to your content

The better an ad matches the page’s content and thus the visitors’ search interest, the higher the chance of a booking. Use Display and Visitor Conditions to match your affiliate ads closely to your content and visitors.

Monitor your ad performance

Keep an eye on the performance data of your ads. Use A/B testing to run different ads in parallel and compare their results. Regularly remove the poor-performing ads and test other formats and ad widgets to constantly improve your CTR and conversion rate.

Feature high-converting properties

Spotlight properties on with high conversion rates and give them prominent visibility. These could be accommodations with top ratings, distinctive offerings, or prime locations attracting many visitors. By doing so, you can expect better earnings due to their higher conversion rates.

Optimize your content and find low-competition keywords

Use appropriate keywords related to your destination to increase your website’s visibility on search engines. However, obtaining good rankings and attracting organic traffic may be difficult if you try to rank with highly competitive keywords. 

In such cases, identify less competitive keywords with substantial search volume. Finding untapped topics to write about in the diverse travel industry is always possible. Provide unique value-added content such as travel guides, itineraries, and reviews to attract readers and encourage them to book through your affiliate links. 

Conclusion about the affiliate program’s affiliate program is perfect for monetizing travel-related content about specific places and destinations. Depending on the thematic focus of your website, you can generate much higher revenues than with classic display ads.

The attractiveness of a partnership with has several reasons: You can find accommodation for almost any place in the world. The good branding of allows you to achieve a high conversion rate. In addition, this type of advertising is much more closely related to your content than other ad networks, which is why your visitors perceive it as less promotional. Moreover, you can offer your users real added value with formats like the Map widget, the Search Box widget, or a deep link to a specific accommodation.

If you have travel content on your website, you should definitely check if you can turn it into passive income with’s affiliate program.


Joachim started marketing his first local news website in 2009. Shortly after, he successfully monetized his travel blogs about Morocco. He is an expert in affiliate marketing in the tourism and travel industry. When he's not writing tutorials for Advanced Ads or supporting other users, he prefers staying in Marrakech or at the Baltic Sea.

Make it better

Increase your ad management skills without spending more time.
Join over 150,000 publishers and AdOpts increasing their ad revenue.