15Gifts uses Requestly to test JS tags on external websites
Tags: testing, charlesproxy, debugging, qatesting
Published: 2022-11-07 12:46:54

---
title: 15Gifts uses Requestly to test JS tags on external websites
published: true
date: 2022-11-07 12:42:04 UTC
tags: testing,charlesproxy,debugging,qatesting
canonical_url: https://requestly.com/blog/15gifts-uses-requestly-to-test-js-tags-on-external-websites/
---

### Introduction

[15Gifts](https://15gifts.com/) integrates recommendation technology into third-party sites through their JS tag that helps customers find their ideal product quickly. 15gifts frontend & QA team migrated from Charles Proxy to Requestly after finding out how easy it is to test JS tags on external websites using Requestly.

This testimonial has been given by 15Gifts team who have been using Requestly for some time.

### The Challenge

At 15gifts, they provide a Javascript tag that their clients integrate into their websites. Their JS tag provides a guided shopping experience similar to in-store sales assistants. They wanted to test out the integration behavior on existing as well as potential customer sites. Which questions the sales assistant asks and at what point in the user journey and what recommendations etc are shown — are some parts of their testing workflow.

The team also wanted to test that new features run smoothly or break the integration and explore this. Any broken experience on the customer website can lead to a significant loss for the customer, therefore testing their JS tag on external sites is extremely important for them.

![](https://cdn-images-1.medium.com/max/1024/1*WXnO_cP3boYUbaJcSqqIhg.png)

### The Solution

15gifts QA team actively uses [Requestly Redirect feature](https://requestly.com/products/web-debugger/redirect-urls/)during their testing to replace key requests on the live environment with staging equivalents. With this setup, they are able to run their staging environment code on live production sites without changing a thing. They use [Requestly WildCard operator](https://developers.requestly.io/http-rules/rule-operators/)to create rules which work across multiple customers/projects. Rules are triggered to test if sensitive integration with client pages is operating as expected.

Using the [Requestly Insert Script feature,](https://requestly.com/products/web-debugger/insert-script-rule/)the team is able to easily run code on a client’s website to test an early cart integration which also helps them in exploring and solving any potential issues upfront thereby saving the cost of communication/reporting by the customer.

They use [Requestly Insert Script feature,](https://requestly.com/products/web-debugger/insert-script-rule/)for inserting pre-production code on non-customer sites where their tag isn’t installed and check post-integration behavior without involving developers.

Their team uses [SharedList feature](https://requestly.com/blog/share-rules-with-other-users/)to share the rules that work and saves the hassle of other people having to set up their own rules or debug someone else’s configuration.

![](https://cdn-images-1.medium.com/max/1024/1*3_3HfX6Hh9gcIyGL-HwRoA.png)

* * *