# HYROS Installation: Standard Script (Any Website) ## OVERVIEW This guide covers installing the HYROS Universal Script on any website. Use this for platforms without a dedicated guide. **Note:** If user names a specific platform (Shopify, WordPress, ClickFunnels, etc.), redirect to that platform's dedicated guide instead. --- ## REQUIREMENTS - Collect Before Starting | Item | Ask User | |------|----------| | Website Access | "Do you have access to edit your website's HTML/code?" | | Platform/CMS | "What CMS or platform is your site built on?" | | HYROS Account | "Do you have access to your HYROS account?" | --- ## STEP 1: Get the Universal Script **Direct URL:** https://app.hyros.com/public/tracking/universal **If automating:** Navigate to HYROS → Tracking section and copy the Universal Script. **If guiding user:** 1. "Log in to your HYROS account." 2. "Go to the Tracking section." 3. "Copy the Universal Tracking Script." → Confirm: "Do you have the Universal Script copied?" --- ## STEP 2: Access Your Website's Code **If automating:** Identify how to access the website's HTML head section based on the platform. **If guiding user:** "You need to access where you can add code to your website's `` section: Common locations by platform: - **Custom HTML site:** Edit your index.html or template file - **Generic CMS:** Settings → Custom Code → Header - **Website builder:** Settings → Advanced → Custom Code - **WordPress:** Appearance → Theme Editor → header.php (or use a plugin)" → Confirm: "Can you access your site's header/head section?" --- ## STEP 3: Add HYROS Script to Head Section **If automating:** Paste the HYROS Universal Script in the `` section, as high as possible, before the closing `` tag. **If guiding user:** "Paste the HYROS Universal Script into your website's `` section. **Best placement:** ```html [PASTE HYROS SCRIPT HERE] ``` **Important:** The script should go BEFORE the closing `` tag." → Confirm: "Is the script added to your website's head section?" --- ## STEP 4: Save and Publish **If automating:** Save the changes and publish/deploy the website. **If guiding user:** 1. "Save your changes." 2. "Publish or deploy your website." 3. "Clear any caching if your site uses caching." → Confirm: "Are the changes live on your website?" --- ## STEP 5: Verify Installation **If automating:** Visit the website, open browser developer tools, and verify the HYROS script is loading. **If guiding user:** "Verify the script is working: 1. Visit your website 2. Right-click → Inspect → Console 3. Look for HYROS-related messages OR 1. Right-click → View Page Source 2. Search for 'hyros' 3. Verify the code is present" → Confirm: "Is the HYROS script loading on your website?" --- ## STEP 6: Check HYROS Dashboard **Direct URL:** https://app.hyros.com/ **If automating:** Check HYROS dashboard for incoming visitor data from the website. **If guiding user:** 1. "Go to your HYROS dashboard." 2. "Check for incoming visitor data from your website." 3. "Allow a few minutes for data to appear." → Confirm: "Can you see data in HYROS?" --- ## PLACEMENT GUIDELINES ### Where to Add (Best to Acceptable) 1. **BEST:** In the `` section, as high as possible 2. **OK:** Just before closing `` tag 3. **ALSO OK:** Just before closing `` tag (if head access is limited) ### Where NOT to Add - Inside other scripts - After closing `` tag - In CSS files - In image or media tags --- ## TROUBLESHOOTING ### Script not loading? - Check browser console for JavaScript errors - Verify code is in HTML mode, not visual editor - Ensure code is complete (not truncated) ### No data in HYROS? - Clear browser cache - Wait a few minutes for data to sync - Try in incognito mode ### Multiple scripts appearing? - HYROS code should only appear once per page - Remove duplicates if found --- ## Source Synced from: docsContent.ts (standardScriptGuide) Last synced: 2026-01-03