Learn what to do when you are using multiple scripts on your website to avoid conflicts between them
When using multiple scripts from different travel brands or partnership platforms like Travelpayouts and others, it's essential to understand how they interact to ensure smooth operations on your website. This article provides insights into managing these interactions effectively, enhancing their performance.
Understanding script compatibility
Travelpayouts scripts, including LinkSwitcher and Emerald, are designed to work independently without interfering with scripts like Mediavine's, Stay 22's LMA script, Ezoic, and others.
This compatibility allows them to coexist seamlessly on the same website and run concurrently without negatively impacting other scripts' performance or user experience, so you can take advantage of the unique benefits of each script.
Managing scripts that convert links
For scripts that change links, such as LinkSwitcher and LMA from Stay 22, there is a possibility that if you’re using both of them on your website, the links that you don’t want to be changed can still be converted. Although both scripts will work technically correctly and can coexist seamlessly on the same website, it's important to manage their settings carefully.
For example, you might choose to work with Viator directly while converting all Klook links into Travelpayouts links using LinkSwitcher, and converting Booking.com links using another script. Properly configuring these settings in your account is essential to ensure that the scripts do not convert the links that you don’t want to be converted and the results are predictable, just like in the example above.
There are mechanisms in place to prevent this from happening:
- LinkSwitcher exclusions: Users can easily add exceptions in their personal accounts to prevent LinkSwitcher from converting certain links.
- Stay22 LMA exclusions: Users need to contact their manager to exclude specific brands or affiliate networks from conversion by the LMA script.
In summary, LinkSwitcher allows users to add exceptions directly in the Travelpayouts account to exclude certain links from conversion. Similarly, for Stay 22's LMA script, users can ask their manager to exclude specific brands or affiliate networks. This ensures that each script performs its intended function without interfering with the others.
Recommendations for optimal script performance
1. Define partnerships:
Decide which brands to work with through which platform, ensuring settings do not include the same brand to avoid conflicts.
2. Proper script setup:
When using link modification scripts, be sure to exclude specific brands or affiliate platforms in the settings of those scripts (e.g. Travelpayouts domain from Stay22 settings and vice versa).
3. Monitor outcomes:
After setup, monitor results to ensure predictable and clear outcomes from affiliate marketing efforts.
4. Contact support:
For any questions or concerns, contact support for assistance.
By following these steps, you can ensure that all scripts on your website work together smoothly, maximizing the benefits of each script.