Applies To
These steps can be utilized for troubleshooting and will be beneficial to customers who wish to preview the appearance of the user's page before activating the Invoca tag and swapping numbers.
Procedure
There are two ways to stop the Invoca tag from running:
1. Adding the query param, invoca_hold=true in the URL. - You can add this query param(i.e. invoca.com?invoca_hold=true) so the tag is loaded but aborted during execution. This log in the Console of DevTools can be found.
Please remember to use an incognito browser to avoid any caching issues.
You may still see the number swap if Invoca.PNAPI.run() function is added and invoked on the website.
For a thorough assessment of website functionality, we recommend utilizing the following method. This enables you to comprehensively evaluate website behavior without the Invoca Tag.
2. Blocking the Invoca Tag from being loaded.- You can completely block the tag script from loading onto your website by enabling network blocking.
- Open the webpage where the Invoca tag is deployed.
- Right-click on the page and select "Inspect" to open the Chrome DevTools.
- In the DevTools window, click on the "Network" tab.
- Type "invoca" in the filter field to search for network requests related to Invoca.
- Right-click on the file "invoca-latest.min.js" and select "Block request domain".
- You should see a checkbox labeled "Enable network request blocking." and "solutions.invocacdn.com" is added for network request blocking.
- Refresh the page to load the page with the Invoca tag script blocked.
If you want to allow the script to run again, uncheck this checkbox to disable network request blocking. - Refresh the page once again, and the Invoca tag script should load normally.
Additional Information
The "Block request domain" feature enables the blocking of any files located within the same domain but different paths.
Please note that the exact steps may vary slightly depending on the version of Chrome or other factors. However, this general guide should give you an idea of how to perform these actions using the Chrome DevTools.
Also, keep in mind that this action does not affect any network transactions on the website itself; it solely pertains to modifying the behavior of the browser you are currently using.