Browse all guides
Documentation
Analytics

Install Google Analytics with a Google tag

Add the Google-provided tag through site-wide Custom Code and verify collection on your public website.

You can use Google Analytics alongside Neopress's built-in analytics by adding your Google tag to the site. In Neopress, this uses Custom Code; there is no separate Measurement ID field in the current settings. Google Analytics and Google Search Console also have different setup flows.

Prepare the Google tag

In the Google Analytics property you want to use, open the website's data stream and find the Google tag's installation instructions. Choose Install manually and copy the complete snippet. Use Google's current Google tag installation guide if the menus differ in your account.

Check that the property and web stream belong to the correct website. You need appropriate access to those Google settings and permission to edit the Neopress site. Keep the complete installation snippet; a Measurement ID by itself is not the code to paste into the editor.

Add it once at site scope

  1. Open Settings → General in Neopress.
  2. Choose Site metadata from the scope menu. This is the scope for code that should apply across the site.
  3. Scroll to Custom Code and paste the Google-provided snippet into Start of head.
  4. Preserve unrelated code already in that field and select Save changes.
  5. Reopen the setting to confirm it saved, then open the public website.

Check for an existing Google tag before adding another. A tag already installed through site code, page code, or Google Tag Manager can cause duplicate collection if you install it again. Page-specific Custom Code applies only to that page and is usually the wrong scope for a site-wide setup.

Verify real collection

Use Google's installation test and its reporting or debugging tools to confirm the tag receives activity from the public site. Visit more than one page so you check the intended coverage. A saved snippet proves it was saved; it does not prove Google received an event.

Site metadata and its custom code save separately from page-body drafts. If the site or a new page has not been published, publish that content before testing its public URL. Make changes deliberately because saved site-wide code can affect existing public pages.

Keep the two measurement systems distinct

Neopress continues to provide its own reports. Installing the Google tag does not import Google Analytics reports into Neopress or automatically recreate Neopress events, funnels, or lead links in Google Analytics. Counts can differ because the tools have different definitions, settings, and collection conditions.

The cookie and consent controls in Insights → Analytics settings configure Neopress tracking. Do not assume they automatically configure a separately pasted Google tag. Set up and verify that tag's consent behavior through your chosen Google-tag setup.

To remove the installation, remove only the relevant tag snippet, save, and test the public site again. Check other scopes or tag managers if collection continues.

Related guides