In order for us to integrate with a website, we require you to include to a JavsScript file that tracks which pages and products your customers are visiting so we can use this information in your triggered campaigns. This script is loaded each time a page is viewed on your site.
We're conscious of performance and our script has been designed to be fast. All unnecessary characters, such as spaces, have been removed to decrease the size.
Trace bar
If you're visiting the page with the trace bar on (the red bar at the bottom of the page), it forces a formatted version to be displayed. The file is loaded from a CDN for maximum speed.
The script also uses the both the async
and defer
attributes, which means it isn't loaded until after the page has finished rendering. This is so it doesn't block any other elements loading and shouldn't affect the speed to display the rest of the page.
Learn more here.
We also set a cache timeout on the script so visitors avoid having to download it on every page they visit.
The time period must be kept relatively short in case of script updates.
How to audit your page speed
If you want to explore performance further, we have articles and a downloadable checklist that takes you through the points you can review across your site to help reduce your loading times.
Learn more in How to optimize your website speed and How to audit your page speed.
Additionally, check out a webinar we ran where one of our customers provides their real-world experience with optimization and their tips to make your site as fast as possible.