Simplify Demos by Directly Testing Ads on Client Websites

RequestlyRequestly
3 min read

Introduction

Running ad demos across different environments can be time-consuming and complex, especially when it comes to testing how ads on client websites perform. Managing various ad versions, configurations, and tracking can slow down the process and lead to inefficiencies.

Requestly simplifies this by letting you test ads directly on client websites, making it easy to demo ad setups in real-world environments and gather more accurate insights for better optimization.

How to Test Ads Directly on Client Websites for Demos

The Insert Script Rule in Requestly allows you to inject ad scripts directly into client websites, enabling seamless testing of ad demos. This is especially useful for showcasing different ad versions or configurations in a live environment, providing real-world performance insights without altering the client’s production setup.

ads on client websites

  • Language: Choose the coding language for the script you want to inject. In this case, both JavaScript (JS) and CSS can be selected depending on whether you’re writing behavior-related code (JS) or styling (CSS).

  • Code Editor: This is where you write or paste your JS or CSS code. For JavaScript, you might insert custom ad scripts, while for CSS, you might apply custom styles to adjust how ads are displayed.

  • Source Condition: This allows you to set up specific conditions, such as URL patterns, to target particular domains or requests. For example, the URL is set to example.com

  • Test URL Condition: You can check if the rules you’ve set up work correctly by testing them on specific URLs.

  • Filter Out Condition: You can apply filters to limit which requests are affected, making sure only the ones you want are modified.

Install Requestly Browser Extension if not installed already

Try This Rule

Or create your own Rule by following the steps below

Here’s how to set up a rule to test ads directly on client websites using the Insert Script Rule in Requestly:

  1. Open Requestly: Open Requestly app.

  2. Create a New Rule: Click on New Rule and select the Insert Script Rule option.

  3. Enter the URL Pattern: Specify the URL condition where the ad script should be applied. (Client’s website)

  4. Insert the Ad Script: Paste the ad script that you want to test on the client website.

  5. Save the Rule: Click Save to apply the rule.

Interactive Guide

Check this interactive and easy explanation of how to use Insert Script Rule.

Conclusion

Try this Insert Script rule to test ads directly on client websites, ensuring accurate demos without impacting live data. Requestly is trusted by over 200k developers and 1000+ companies for seamless network request management.

Explore More:

0
Subscribe to my newsletter

Read articles from Requestly directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Requestly
Requestly