GrowthOptix's script enables the tracking of page views, UTM parameters, referrers, landing pages, and all attribution data.
1. Copy your script from GrowthOptix
Important: Every script contains a unique identifierKey. Do not copy the example below; always use your own.
Example script (for demonstration only)
<!-- Start of GrowthOptix script (example only) -->
<script>
var script = document.createElement('script');
script.src = "https://cdn-staging.growthoptix.com/tracking/index.iife.js";
script.defer = true;
script.onload = function() {
window.GrowthOptix.init({
identifierKey: "EXAMPLE-IDENTIFIER-12345" // Example only
});
};
document.head.appendChild(script);
</script>
<!-- End of GrowthOptix script (example only) -->
2. Paste the script inside your website’s <head>
Place your script inside the <head> tag of your website so it loads before the page renders.
It should look like:
3. How to add it on common platforms
WordPress
Go to Appearance → Theme File Editor OR use a header plugin (“Insert Headers and Footers”).
Paste the script inside the
<head>section.Save and clear cache/CDN.
Webflow
Go to Project Settings → Custom Code → Head Code.
Paste the script.
Publish the site.
Shopify
Go to Online Store → Themes → Edit code.
Open
layout/theme.liquid.Paste the script before the closing
</head>tag.Save and test.
Other platforms
Paste the script anywhere inside the <head> of your HTML.
If unsure, share the snippet with your developer and say:
“Please insert this script inside the <head> so GrowthOptix can track attribution.”
4. Verify installation
Return to GrowthOptix → Tracking
Enter your site URL → click Verify.


