Yola is a hosted website builder aimed at small businesses. It provides a simplified drag-and-drop editor with limited customization options. Analytics integration on Yola is restricted to the platform's built-in Google Analytics integration and a limited custom code feature.
Integration Architecture
Yola provides two integration paths:
- Built-in Google Analytics -- Navigate to Site > Properties > Google Analytics (or Settings > Analytics) and enter your Google Analytics tracking ID. Yola injects the tracking script automatically.
- Custom HTML Widget -- Yola's editor includes a "Custom HTML" widget that can be placed on individual pages. This accepts arbitrary HTML/JavaScript but only applies to the page where the widget is placed.
There is no global code injection field, no theme editor, no template access, and no plugin system.
Available Integrations
Analytics Platforms
- Built-in Analytics setting (Measurement ID, applies globally)
- Custom HTML widget with gtag.js (per-page only)
Tag Management
- Custom HTML widget on each page (no global injection)
- Severely limited -- must be added to every page individually
Marketing Pixels
- Custom HTML widget (per-page, no global option)
- Via GTM if GTM is installed on all pages
Built-in GA4 Setup
Navigate to Site > Properties in the Yola editor. Look for the Google Analytics field and enter your GA4 Measurement ID (G-XXXXXXXXXX):
Site > Properties > Google Analytics: G-XXXXXXXXXX
This injects the GA4 tracking script on all pages automatically, providing:
- Basic pageview tracking
- GA4 enhanced measurement events (if enabled in your GA4 property settings)
- No custom events or data layer access
Custom HTML Widget Workaround
For GTM or Meta Pixel, use the Custom HTML widget:
- In the Yola editor, drag an HTML widget onto the page
- Paste your tracking script:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-XXXX');</script>
- The widget renders the script in the page body at the widget's position
The major limitation: this widget must be placed on every page individually. There is no way to apply it globally.
Platform Limitations
No global code injection. Unlike most website builders, Yola does not provide a site-wide header/footer code injection field. The only global tracking option is the built-in Google Analytics field. GTM and Meta Pixel cannot be deployed globally without adding a Custom HTML widget to every page.
Widget placement affects load order. Custom HTML widgets render inline in the page body where they are placed. Tracking scripts placed via widgets load after all content above them, which means they fire later than optimal (tracking scripts should ideally be in <head>).
No data layer. Yola does not expose page metadata to JavaScript. The only data available is what you can extract from the DOM.
No ecommerce data layer. Yola's built-in ecommerce (Online Store) does not expose cart, checkout, or purchase data to tracking scripts.
No server-side access. Fully hosted with no backend, API, or webhook capabilities.
Maintenance burden. Because GTM/pixel code must be placed on every page individually, adding or removing pages requires updating tracking widgets manually. This is error-prone and does not scale.
Performance Considerations
- Minimal platform overhead. Yola generates relatively lightweight HTML. The impact of adding tracking scripts is proportionally higher.
- Widget rendering position. Custom HTML widgets load in the body, not the head. Scripts fire later in the page lifecycle, which may miss early user interactions.
- Limited control. You cannot add
async,defer, or resource hint attributes to scripts loaded via the Custom HTML widget.
Recommended Integration Priority
- Add GA4 Measurement ID via built-in Analytics setting (only global option)
- If GTM is required, add Custom HTML widget to every page (high maintenance, consider whether the platform is appropriate for your tracking needs)
- Evaluate platform fit -- If you need GTM, Meta Pixel, or custom event tracking on all pages, Yola's limitations may warrant migrating to a platform with full code access
Next Steps
For general integration concepts, see the integrations overview.