FICILCOM Inc. LogoFICILCOM Inc.
  • Company
  • Company Overview
  • Mission · Vision · Values
  • Guidelines
  • Services
  • NeX-Ray
  • Xtrategy
  • Trial Job Change
  • Tsurugi
  • Recruit
  • Culture
  • Benefits
  • Process
  • FAQ
  • Open Positions
Contact
  1. Home
  2. Blog
  3. Web Analytics
  4. What Is a Tracking Code? GA4, Google Tags and Verification

What Is a Tracking Code? GA4, Google Tags and Verification

トラッキングコードとは?設置位置とGA4での確認方法を解説

Published: 07/24/2026

Last Updated: 10/12/2026

Category: Web Analytics

Authors: Shusaku Yosa

Ready to put this into practice?

Start NeX-Ray for free→

1-minute signup, free, cancel anytime

A tracking code lets a browser send measurement data to an analytics service. For GA4, installation is only the beginning: verify the destination, the operation being measured and the number of events delivered. Separating deployment from acceptance testing makes both missing data and duplicates easier to investigate.

Tracking code, measurement IDs, Google tags and GTM

A GA4 property manages settings and reporting. A web stream is a collection source within that property, and its G- measurement ID identifies that stream. The identifier is not the complete tracking program. Check the official measurement ID guidance before choosing a destination.

Item

Role

Check

GA4 property

Management and reporting unit

Correct organization and property

Web stream

Web collection source

Intended site and stream

G- measurement ID

Identifies the web stream

Not a GTM container ID

Google tag

Measurement configuration and implementation

Destinations and event settings

GTM container

Tag deployment and change management

Container ID and published version

Google tag is the current product terminology; gtag.js is a library used in its implementation. GTM manages and deploys tags. This article covers browser tagging, so an absent browser snippet alone does not rule out every other collection route.

Audit existing tags and their destinations first

Inventory CMS integrations, theme fields, plugins and GTM before adding anything. An existing implementation may be owned by another team. A connected dashboard does not establish which component actually places the tag on a public page.

Placement owner

Record

Decision

CMS or theme

ID, placement switch, templates

Keep or replace existing deployment

Plugin

Destination, login exclusions, owner

Check overlapping configuration

GTM

Container, Google tag, trigger, published version

Separate preview from production

Intentional delivery to another property differs from duplicate delivery to the same destination. Confirm the purpose before removing an existing tag, and keep a record of the previous configuration.

Choose direct installation, a CMS integration or GTM

Direct installation suits teams that control templates. A CMS integration can manage placement through supported settings. GTM provides a separate workflow for tag permissions and versions. Event measurement does not universally require GTM; choose according to the existing architecture, maintenance owner and consent implementation.

Agree who can release changes, who owns the destination and who performs acceptance testing. The Google tag instructions for GTM separate configuration, preview testing and publishing. A successful preview is not itself a production release.

Place the Google tag and cover the right templates

For direct installation, obtain the complete snippet from the intended web stream and place it immediately after the opening <head> tag on each page being measured, following Google’s installation guidance. Pasting only an ID into article content does not install the program.

If a shared template already supplies the tag, do not repeat it inside individual posts. Check posts, static pages, category templates and standalone landing pages separately. If you deploy a GTM container instead, follow the container’s own installation instructions rather than treating it as the same snippet.

Verify delivery with Tag Assistant and DebugView

Connect the test device with Tag Assistant or GTM preview, then inspect its events in GA4 DebugView. Confirm debug mode, destination, page URL, event name and required parameters. The DebugView documentation describes supported debugging methods and privacy-related limitations.

This fictional acceptance test uses ordinary page loads and a success event only if its business condition has already been implemented and verified. Define the expected count before testing.

Operation

Expected in this test

Evidence

Open article A once

One page_view

Destination and A URL

Follow a link to B once

One page_view

Destination and B URL

Complete one verified test submission

One designed success event

Acceptance condition and delivered count

Seeing a visit in Realtime confirms initial receipt. One active user does not prove that events are unique, success criteria are correct or every downstream report is accurate.

Diagnose missing data and duplicate events

Symptom

First check

Next check

No detected tag

Public HTML and template

Release version and caching

Tag present, no receipt

ID, consent and blocking

Device and network conditions

Wrong destination

Property and stream

Placement configuration

Repeated events

Name, destination and URL

Placement owners and triggers

Only administrators missing

Login exclusion and filters

Logged-out comparison

Count event deliveries for the same operation and destination. Library load counts and user totals alone cannot diagnose duplication. Consent or privacy controls can also prevent events appearing in DebugView, so a missing debug event is not automatic proof that no code exists.

Document consent, production hosts and success events

Record production hosts, consent states, authentication transitions and any move to another domain or app. Keep untested transitions explicitly unverified. A button click differs from accepted submission, and an event count differs from the number of registered people.

Check URLs, page titles and parameters for email addresses or other prohibited personally identifiable information. Follow Google’s PII prevention guidance instead of forwarding raw form contents.

  • Save release versions, IDs, templates and test dates.
  • Record expected and actual counts with login and consent conditions.
  • Assign unresolved checks to an owner and define the retest.

Continue with the guide that matches your next task: Install GA4 on WordPress: Site Kit, GTM or a Manual Google Tag; GA4 Free vs Analytics 360: Limits, Costs and When to Upgrade; Time on Page vs GA4 Engagement Time: How to Measure and Interpret It.

 

 

 

 

Table of Contents

  1. Tracking code, measurement IDs, Google tags and GTM
  2. Audit existing tags and their destinations first
  3. Choose direct installation, a CMS integration or GTM
  4. Place the Google tag and cover the right templates
  5. Verify delivery with Tag Assistant and DebugView
  6. Diagnose missing data and duplicate events
  7. Document consent, production hosts and success events

 

Company

  • Company
  • Company overview
  • Mission · Vision · Values
  • Guidelines

Services

  • Services

Blog

  • Blog
  • Categories
  • Authors

Estimate

  • Estimate simulator

Careers

  • Careers
  • Culture & Work Style
  • Benefits & Systems
  • Hiring Process
  • FAQ
  • Open Positions

Policies

  • Privacy Policy
  • Anti-Social Policy
  • Information Security Policy

Contact

  • Contact

Social

  • X
  • LinkedIn
  • Facebook
  • Pinterest
© 2026 Ficilcom Inc.

Related Articles

GA4の「探索」の使い方|レポート作成と見方の基本を解説
Web Analytics09/01/2026

GA4 Explorations: Build and Interpret Free-Form, Funnel and Path Analyses

Build GA4 free-form, funnel and path explorations with clear questions, segment scopes and denominators. Check retention...

Shusaku YosaRead more
GA4の権限設定とは?許可レベルの違いと安全な転送・付与手順
Web Analytics08/21/2026

GA4 Permissions: Roles, Sharing and Access Troubleshooting

Compare GA4 roles, add or remove users, understand inherited access, and troubleshoot permission issues when sharing a p...

Shusaku YosaRead more
Googleアナリティクスレポートの見方|主要指標とチェックすべき項目
Web Analytics08/19/2026

How to Read GA4 Reports: Acquisition, Pages and Key Events

Read GA4 acquisition, landing-page, page and key-event reports with the right dimensions and denominators. Separate miss...

Shusaku YosaRead more