Skip to content

Configuration

Account identifiers, the people who hold access, and the mechanism that puts tracking on the site. For the console links on their own, see Quick Links.

Container ID GTM-WKCTMW9
Account ID (internal) 6071194516
Container ID (internal) 101572148
Console Open the container

As of version 9 (2026-09-02):

Tag Trigger and configuration
Google Tag Initialization; measurement ID G-98XTPRGPNZ.
Page View - GA4 Event Custom event virtual_pageview only; maps page_location and page_title from dataLayer.
Member Identify - GA4 Event Custom event member_identify; sets user_id and user property member_state.
Download Report - GA4 Event Custom event Download Report; parameters event_category and event_label.

The Data Layer Variables are DLV - page_location, DLV - page_title, DLV - member_state, DLV - user_id, DLV - event_category, and DLV - event_label.

Snapshot taken 2026-08-05.

Account Permission Status
marisa@strategicpeacock.com Publish Has access
markusdrake@gmail.com (Mark Drake) Publish Has access
robin.alston.nri.inc@gmail.com Publish Invitation pending
addwords.nri.inc@gmail.com Read Invitation pending
Account NRI, Inc
Account ID 51946307 (“NRI, Inc”)
Property nri-inc.org - GA4
Property ID 360145899
Measurement ID G-98XTPRGPNZ
Created 2023-03-27
Console Open the property

This is the live property and holds the full history from www.nri-inc.org since 2023-03-27.

Snapshot taken 2026-08-05.

Account Role
robin.alston@gmail.com (Dr Robin Alston) Administrator
marisa@strategicpeacock.com Administrator
markusdrake@gmail.com (Mark Drake) Administrator
robin.alston.nri.inc@gmail.com Administrator

The two lists overlap but are not identical. Three accounts hold both — marisa@strategicpeacock.com, markusdrake@gmail.com, and robin.alston.nri.inc@gmail.com. The two that do not:

Account Tag Manager Analytics
addwords.nri.inc@gmail.com Read (pending) —
robin.alston@gmail.com — Administrator

Robin Alston appears under two separate Google accounts — robin.alston@gmail.com and robin.alston.nri.inc@gmail.com. They are distinct logins, and access granted to one does not carry to the other. Check which address a permission was granted to before assuming it is covered.

Tracking is not hard-coded in the application. It is content, managed in Umbraco, so it can be changed without a deploy.

Every top-level site in the content tree has a Settings node. That node is where third-party integrations live — social media, ads, tracking, embedded scripts of any kind. Think of it as the control panel for anything external that touches the site.

The Settings node’s Embeddings tab holds a block list called Custom Embeddings. Each block is one snippet of raw HTML that gets injected into the page.

The Umbraco Settings node for NRI Inc, showing the Embeddings tab with a Custom Embeddings block list containing two Google Tag Manager entries and three Console Log entries.
Field What it does
Label Display name in the block list. Cosmetic — nothing keys off it.
Placement Where the code is injected: Before Head Close, After Body Open, or Before Body Close.
Code Raw HTML, injected verbatim.
Environments Which environments the block renders in — Development, Staging, Production. The block list label shows the selected set in parentheses.
Disabled A toggle to switch a block off without deleting it.

The GTM container snippet sits in a block placed at Before Head Close:

The Google Tag Manager embed block open for editing, showing Placement set to Before Head Close and the GTM container snippet with container ID GTM-WKCTMW9 in the code field.

Settings is per-site — configure all three

Section titled “Settings is per-site — configure all three”

There is a Settings node under each top-level site. Tracking must be configured under NRI Inc, BHPMS, and State Profiles separately.

The Umbraco content tree with State Profiles expanded, showing its own Settings node with two Google Tag Manager embeds in the Embeddings tab.

The Umbraco User Guide root is for internal use. There is normally no reason to add embeds there.

The container is CMS-managed, but the site pushes several things into dataLayer from code. These are the hooks GTM triggers and GA4 user properties are built on, and they only change with a deploy.

After each full page load, Client/src/main.ts starts the memoised /auth/me fetch in Client/src/stores/auth.ts. When the response says the member is signed in, the auth store pushes once:

{
event: "member_identify",
user_id: <member GUID key>,
member_state: <US state or undefined>
}

Anonymous visitors push nothing. dataLayer persists across swup navigations, so once per full page load is enough. user_id is an opaque GUID, never an email address or name.

member_state comes from the /auth/me response’s state: mailing address state first, workplace address as fallback. GA4 has a user-scoped custom dimension Member state (member_state).

The site navigates with swup, so a link click swaps content without a native page load and GTM’s built-in pageview trigger never fires again after the first page. Client/src/main.ts pushes a virtual_pageview event on swup’s page:view hook, carrying page_location and page_title.

Use the custom-event trigger named virtual_pageview in GTM for anything that should fire on every page, not the built-in pageview trigger.

The page_view tag reads page_location and page_title from this push (fixed in container version 6). Its built-in All Pages trigger was removed in version 8 to stop double counting the first load.

The push is guarded — where no GTM embed is present there is no dataLayer and it is a no-op.

This fires only for publications whose ancestors include the State Profiles site root (content key bc02154b-9c1a-4c35-886e-2116ba3a84b6). Views/publication.cshtml passes analyticsCategory: "State Profiles"; the publication island renders attachment anchors with data-download-category and data-download-title. A delegated click handler in Client/src/main.ts pushes:

{
event: "Download Report",
event_category: "State Profiles",
event_label: "<report title> (<ext>)"
}

This deliberately uses the same shape as the legacy Umbraco 13 Universal Analytics event, so history and new data share one GA4 report through the existing event-scoped custom dimensions event_category and event_label. Publications under NRI Inc or BHPMS do not fire it.

The old site used Universal Analytics property UA-51946307-1 through analytics.js for pageviews. track.js read /umbraco/api/profiles/me to set ga('set', 'userId', …) and custom dimension 1 to the member’s state. Download events used category State Profiles, action Download Report, and label <name> (<ext>).

Universal Analytics stopped processing in July 2023. The GA4 property received the live site’s data through a separate GA4 tag.

  • No data at all on one site — check that site’s own Settings node has the GTM blocks. Remember it may be silently inheriting another site’s container.
  • Data on the wrong property — same cause, opposite symptom.
  • Doubled pageview counts — check for two active head-placed GTM blocks under the same Settings node.
  • Nothing in a lower environment — check the Environments field on the block. A block set to Production only will not render in Development or Staging.
  • Events fire on first load but not after navigating — the trigger is probably using GTM’s built-in pageview instead of the virtual_pageview custom event.
  • member_state empty in reports — the member has no state on either address; check that /auth/me returns state.
  • Download Report missing — the publication is not under the State Profiles root, or dataLayer is absent because there is no GTM embed on that site’s Settings node.
  • Pre-launch overlap — cms.nri-inc.org and www.nri-inc.org report into the same property; split them with the Hostname dimension.