Adding Third-Party Code in E-zone 2
The Third-Party Code feature allows you to add external scripts and integrations that will run across the E-zone 2 without affecting the rest of your website. This is commonly used for analytics, tracking, marketing tools, and other external services.
Adding code here ensures it is applied only within the E-zone, giving you greater control and reducing the risk of unintended site-wide impact.
Why Use Third-Party Code?
Third-party code is typically used to:
Track user behaviour and engagement (e.g. analytics tools)
Integrate marketing or remarketing platforms
Add accessibility or compliance tools
Support chat widgets or external services
Monitor performance or conversions within the E-zone only
Using a dedicated code location ensures these tools are scoped specifically to E-zone activity.
How to Add Third-Party Code
To add third-party code within E-zone 2:
Navigate to Modules in the main menu.
Select Zone.
Open Settings.
Locate the Third-Party Code section.
Paste your code into the appropriate code location.
Save your changes.
Once saved, the code will be applied throughout the E-zone 2.
Understanding Code Locations
When adding third-party code, you may be asked to choose where the code should load. These locations control when and how the script runs.
Before <head>
Loads code before the page head is fully rendered
Commonly used for:
Tag managers
Critical tracking scripts
Ensures the script is available as early as possible
Inside <head>
Loads code within the HTML head section
Commonly used for:
Analytics tools
Meta-based scripts
SEO or verification tags
Ideal for scripts that need to load early but not block page rendering
After <head> / Before <body>
Loads once the head has finished loading
Commonly used for:
Performance monitoring tools
Scripts that rely on head elements but don’t need to load immediately
Before </body>
Loads at the very end of the page
Commonly used for:
Chat widgets
Non-critical scripts
Tools that should not affect page load speed
Best practice:
If you are unsure which location to use, follow the guidance provided by the third-party tool or vendor.
Scope of Third-Party Code
Code added here will run across all pages within E-zone 2
It will not affect the main website or other zones
This allows targeted tracking and integrations without global impact
Best Practice Tips
Only add trusted third-party scripts.
Avoid adding duplicate scripts already used elsewhere.
Use the least intrusive code location where possible.
Regularly review and remove unused scripts.
Test thoroughly after adding or updating code.
Troubleshooting
Script not working? Check the selected code location.
Page loading slowly? Move non-essential scripts to load before
</body>.Tracking data missing? Confirm the script applies only to E-zone 2 and is not blocked by cookies or consent settings.
Errors appearing? Validate the script syntax and ensure no conflicting code is present.
Comments
0 comments
Please sign in to leave a comment.