Does the GrowSurf Universal Code slow down my site?
The GrowSurf Universal Code is designed to have minimal impact on your site's performance and does not slow it down. Here's why:
1. Asynchronous Loading
The script loads asynchronously using the async
attribute. This means it won't block page rendering while loading.
2. Non-Blocking Execution
The implementation uses several performance-friendly techniques:
- The script should be appended to the
<head>
without blocking DOM parsing - Single execution guard prevents duplicate loads
- Versioned URL enables proper browser caching
3. Lightweight Footprint
- Only loads additional resources when needed. Different pieces of participant and campaign data are retrieved from a single API call.
- The script uses modern browser APIs for efficient operation
4. Smart Resource Handling
Third-party integrations are only initialized when:
- A referral is detected
- User interacts with GrowSurf elements
- Campaign rules require them
Ultimately, the async
loading pattern ensures GrowSurf won't impact your Core Web Vitals scores or Lighthouse performance metrics.