📘 This article answers frequently asked questions about PageWorkers, part of Botify's Activation Suite, available as an option with all Botify plans.
What does the Botify JS snippet do?
What does the Botify JS snippet do?
When a browser loads a page that includes the Botify JS snippet, it loads the following:
A JavaScript file that contains the optimizations that have been defined in Botify.
The code that will apply the optimizations to the pages.
The snippet applies each optimization to the current page if it is within the defined scope. If the page is not within the scope, then the respective optimizations are not applied. After all optimizations are executed on the page, the execution logs are sent to Botify.
The Botify JS snippet does not alter your page code. Optimizations are applied on top of your pages, which allows you to remove, deactivate, or change PageWorkers optimizations from Botify at any time, leaving your pages in their original state.
How long does the Botify JS snippet take to load?
How long does the Botify JS snippet take to load?
PageWorkers will not affect your site speed. The JS snippet is built to have a negligible impact on the performance of any page on which it is embedded. On average, the snippet takes less than 45 ms to load. We achieve this by loading the snippet asynchronously so it doesn't prevent page content from being rendered and by hosting it on a CDN, which caches and serves the JS as close as possible to website visitors.
How can I confirm that the script has loaded?
How can I confirm that the script has loaded?
Use your browser’s Developer Tools to confirm that the script is loaded. For example, in Google Chrome:
Navigate to View > Developer > Developer Tools on the page where the script is loaded.
On the Network tab, refresh the page.
Type activation.js in the search field to locate the snippet.
Select the snippet in the list to view the details.
How can I validate that the optimizations have been applied?
How can I validate that the optimizations have been applied?
Use Google’s Mobile-Friendly Test tool to view your optimizations as bots see them. To use the tool:
In the Mobile-Friendly Test tool, provide the URL of the optimized page to test, and then click the Test URL button.
On the Test Results page, click the View Test Page link.
Use the search feature to search for the optimized element in the Tested Page section.
What effect does the Botify JS snippet have on Core Web Vitals?
What effect does the Botify JS snippet have on Core Web Vitals?
PageWorkers maintains your user experience and does not impact the Core Web Vitals rating of your pages. Our testing has shown that your Core Web Vitals status will remain the same for all metrics after deploying search-driven optimizations with PageWorkers.
What happens if Botify is down?
What happens if Botify is down?
In the unlikely event that Botify is experiencing an unexpected service interruption, your optimizations will not be executed. If the CDN stops responding the JavaScript snippet will not load, though it will not prevent your original source page from loading. If the API stops responding the JavaScript snippet will load, though it will not be able to execute the optimizations.
Is this script compatible with all browsers?
Is this script compatible with all browsers?
The Botify JavaScript snippet is compatible with all modern browsers used by bots.
Will this script conflict with A/B testing tools?
Will this script conflict with A/B testing tools?
Assuming PageWorkers and your A/B testing tool are not optimizing the same element, there should not be any adverse effect. Additionally, since PageWorkers is primarily optimizing for bots and A/B testing is optimizing for users, we do not anticipate any conflict.
How do I revert my pages?
How do I revert my pages?
You can easily revert your pages by pausing the optimization within PageWorkers.
Is PageWorkers compatible with SPAs?
Is PageWorkers compatible with SPAs?
Yes. Please see PageWorkers Compatability with SPAs for details.
Read next: