How Blockthrough uses Requestly to seamlessly test their JS on publisher websites

Sagar Soni

Background

Blockthrough is a pioneer in the adtech industry, dedicated to helping publishers maximize their ad revenue by serving Acceptable Ads to users who filter their advertising experience online. As a company whose technology is deeply integrated into publishers’ websites via JavaScript, Blockthrough’s success depends on ensuring seamless, high-performing ad experiences across various environments. This story is written with inputs from the Blockthrough team. 

The Challenge

In the fast-paced world of adtech, where every millisecond impacts revenue outcomes, Blockthrough needed a robust solution to streamline their testing and quality assurance (QA) processes. With multiple environments—development, staging, and production—each presenting unique challenges, the team had to ensure that their solutions performed flawlessly before going live on publisher websites. The ability to inject scripts, manage redirects, and toggle local storage flags was crucial for running A/B tests, verifying engineering changes, and optimizing ad delivery performance.

The Solution

Blockthrough integrated Requestly into their workflow to enhance their operational capabilities. Requestly’s dynamic rules engine enabled the team to:

  • Optimize Ad Delivery Across Environments: By redirecting requests to staging environments, the team could test ad scripts under real-world conditions without risking live deployments. This ensured that any issues were resolved before the ads reached end-users.
  • Inject Custom Scripts for Ad Testing: Requestly enabled Blockthrough’s engineers to inject JavaScript snippets directly into publisher websites. This feature was critical for conducting A/B tests, experimenting with different ad configurations, and optimizing the performance of ad campaigns.
  • Automate Local Storage Management: Managing local storage flags became a breeze with Requestly, allowing the team to automate and standardize these settings across various testing environments. This automation was key in maintaining consistent ad behavior and user experience across all platforms.

To support these efforts, Blockthrough’s team developed a set of specialized rules within Requestly, tailored to their unique needs. These rules included targeted redirects, script injections, and A/B testing protocols essential for refining ad delivery and ensuring that Blockthrough’s solutions performed at their best.

The Impact

The implementation of Requestly has been a game-changer for Blockthrough, enhancing their ability to QA scripts across different environments. This has led to more efficient ad delivery, reduced time-to-market for new features, and ultimately, increased ad revenue for their publisher clients.

Requestly Features Used by Blockthrough

Requestly has equipped Blockthrough with the following capabilities:

  • Automating Feature Flags

Requestly enables Blockthrough to toggle feature flags across different environments without making any changes to the code.

  • Testing JavaScript across Multiple Environments

Blockthrough uses Requestly to seamlessly test and redirect JavaScript across multiple environments including development, staging, and production, ensuring their ad scripts perform reliably before going live.

    • Script Injection

    Requestly allows Blockthrough to inject custom JS code into third-party publisher websites for testing and running A/B experiments.

    Conclusion

    In the competitive adtech industry, delivering top-tier ad experiences is paramount. For Blockthrough, Requestly has become an essential tool for maintaining high standards in ad delivery. By enabling precise control over ad scripts and testing processes, Requestly has helped Blockthrough achieve better ad performance and greater client satisfaction.

    Sagar Soni
    Sagar is the co-founder and CTO of Requestly. When he’s not busy architecting the next big thing in software development, you’ll likely find him behind the wheel, cruising the streets and enjoying the thrill of the drive. For Sagar, it’s all about the code by day and the open road by night.

    Contents​

    Subscribe for latest updates​

    Share this article

    Related posts