joecafasso1688's profile

7 Messages

 • 

230 Points

Sunday, August 30th, 2026

Google tag

I have installed a google tag on my site and it is not working after working around the problem of the site asking for a UA number witch Google has not sued in years. I was able to cut and paste the tag. With no results???

Oldest First
Selected Oldest First

3K Messages

 • 

30K Points

19 hours ago

To install a Google tag on your Homestead website, you need to manually insert the tracking code snippet into the header section of your site builder. Homestead offers two primary editors, and the steps depend on which version you are using. [1, 2, 3]
Step 1: Copy your Google Tag code
  1. Go to your Google Tag Manager or Google Analytics dashboard.
  2. Navigate to your installation instructions or data streams to find your web code snippet (the global site tag gtag.js).
  3. Copy the entire snippet code block. It will look something like this:
    html
    <!-- Google tag (gtag.js) -->
    <script async ></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'G-XXXXXXXXXX');
    </script>
    
    Use code with caution.
    [1, 2, 3]
Step 2: Paste the code into your Homestead editor
Choose the set of instructions below that matches your specific Homestead Community editor version:
Option A: If you use Homestead WebsiteBuilder
  1. Log into your Homestead account and open your WebsiteBuilder.
  2. On the left-hand navigation menu, click on Manage.
  3. Select Advanced from the dropdown menu.
  4. Look for the Site Meta Tags or custom head HTML section.
  5. Paste your Google tag code into this box.
  6. Click Save and then Publish your website to push the tracking live. [1, 2, 3]
Option B: If you use Homestead Sitebuilder Plus
  1. Open your project inside Sitebuilder Plus.
  2. Go to the top menu and select Page Settings.
  3. Click on Advanced Settings.
  4. Locate the field labeled head tag HTML.
  5. Paste the copied script code directly into this text field.
  6. Click Save, and make sure to Publish your changes so it applies across your pages. [1, 2]
Step 3: Verify the installation
Go back to your Google Analytics or Tag Manager dashboard and use the "Test" feature by putting in your URL. It can take a few minutes for real-time tracking data to appear after you successfully publish the changes. [1, 2]
Which version of the Homestead editor are you currently using, and are you setting this up for Google Analytics or Google Tag Manager?