1. Will adding the code snippet affect my page load time?
Adding an asynchronous code snippet won't affect your page load time. However, installing our synchronous code or using Google Tag Manager to install either of our code snippets might affect the page load time.
2. When should I use an asynchronous code snippet?
We recommend that you use the asynchronous code snippet when you're conducting a Funnel Analysis or Heatmap experiment. Using an asynchronous code snippet in tests can cause a "flicker" on the page when the original loads, followed immediately by the variation.
An asynchronous code loads in parallel to your webpage and does not affect the loading time of your website. The asynchronous code has a timer set for the pages to load and if a page fails to load within the set time, it stops execution and the original website version is displayed instead.
3. When should I use a synchronous code snippet?
We recommend that you use the synchronous code snippet when you're setting up A/B tests, Split URL tests, or Personalization experiments in PageSense. Using a synchronous code snippet has negligible effect on the page's load time.
A synchronous code snippet executes each function or statement in HTML code one after the other, following the tag. If the synchronous code snippet fails to execute, it will block any further execution of the code.
4. Why is the PageSense tracking code not verifying on my website?
If you still see an error message in red saying the tracking code is unsuccessful on your website, it could be due to any of the following reasons:
You've pasted a different Project code snippet on your webpage's HTML code
There are typographical mistakes in the code
Your webpage takes a longer time (more than 10 seconds) to load than usual. In such an instance, the installation of PageSense code snippet will be automatically successful at the backend, and be ready to track visitors' data on your website