Skip to main content

Overview

The Members Portal can send page views and user events directly to your Google Analytics 4 (GA4) property or your Google Tag Manager (GTM) container. This lets you measure how customers interact with your portal — from first visit through to signup, bookings, and purchases — using the same analytics tools you already know.
You can use either GA4 or GTM, but not both at the same time. If you enable GA4 while GTM is active, GTM will be automatically disabled.

Setup

You need a Google Analytics 4 property with a web data stream for your members portal. The stream’s Measurement ID starts with G-.
  1. Go to Settings → Integrations → Google Analytics 4.
  2. Enter your MEASUREMENT ID and save.
The tracking code is added to every page of your members portal. Events can take 24 to 48 hours to appear in Google Analytics. Remember to mention Google Analytics in your cookie policy, and see Cookie consent if your cookie banner asks visitors first. The same stream also tracks activity in the Passport app and white-label apps that open portal pages. Every event includes a platform_type parameter, so you can filter by where it happened: desktop, mobile, passport or white_label.

What is tracked

Page views

Every page your customers visit is automatically recorded as a page_view event in your GA4 property or GTM dataLayer. This happens on every navigation within the portal, including single-page transitions.

GA4 event name mapping

Only one portal event is renamed before it is sent to GA4: login_success becomes login. Every other event, and every event sent to GTM, keeps its original name. The ecommerce events below (view_item, add_to_cart, begin_checkout, purchase, sign_up…) are sent as events of their own, next to the portal events, so a GTM trigger on a portal event (for example checkout_booking_start or signup_completed) keeps working.
Until November 2026, signup_completed was renamed to sign_up, and checkout_payment_submitted and checkout_booking_start to begin_checkout. Those events now reach GA4 under their own names, and sign_up and begin_checkout are sent separately (see Ecommerce events). If you added a GTM trigger that maps a portal event to begin_checkout, remove it so checkouts aren’t counted twice.

Purchases

Every order sends exactly one purchase event, the GA4 recommended ecommerce event, so the purchases and revenue in your reports count each order once. It is sent when the confirmation page loads after an online payment, or as soon as an order with nothing left to pay is placed (for example a booking paid with credit or a free event ticket). Reloading the confirmation page, or opening it in another tab of the same browser, does not send it again. Credit notes are never sent. With Google Tag Manager, each order is pushed to the dataLayer as { event: 'purchase', ecommerce: { transaction_id, value, tax, currency, items } }, right after an { ecommerce: null } push that clears the previous order. Read it with a GA4 event tag that has Send Ecommerce data turned on, or with Data Layer Variables such as ecommerce.value.
Before November 2026, the portal sent several purchase events for one order (one for the checkout and one for each booking, ticket or plan in it), each with the order’s total including tax, so revenue in GA4 was overstated. Since then each order counts once, at its value before tax. Keep this in mind when you compare periods.

Ecommerce events

Besides the portal events, the portal sends the GA4 recommended ecommerce events from the first look at an item to the purchase, with items in each, so you can see your funnel in GA4’s Monetization reports and build audiences such as “looked at meeting rooms but didn’t book”. value is always before tax and is only sent when every item has a price. currency is the location’s currency (the invoice’s for purchases).
begin_checkout used to be sent as soon as a booking page opened. It is now sent when the customer goes on to pay, so the number of checkouts in GA4 is lower and closer to real intent.

Item IDs

Every item is named {kind}-{id} with the record’s numeric ID, the same in every event from the first view to the purchase: resource-12, product-45, plan-7 (a plan), event-9, course-3 and pass-5 (a pass). Lines that are none of these are other. Use these IDs to match views and purchases in audiences, or to build an ads catalogue.

In Google Tag Manager

Ecommerce events are pushed to the dataLayer in GA4’s ecommerce format, each after an { ecommerce: null } push:
sign_up and generate_lead are pushed flat: { event: 'generate_lead', lead_source: 'tour' }. The portal events keep being pushed under their own names as before. When your cookie banner asks visitors first (Opt-in or My own consent tool), Google Analytics and Google Tag Manager wait for the visitor’s consent:
  • The portal uses Google Consent Mode v2: the consent default (everything denied until the visitor accepts) is the first command in the dataLayer, and every change of mind is sent as a consent update. GTM also receives a nexudus_consent_update event with nexudus_consent.analytics and nexudus_consent.marketing, to trigger your own tags.
  • With Basic Google consent mode (the default), GA4 loads only once the visitor accepts analytics cookies, and GTM once they accept either kind. Nothing the visitor did before accepting is sent afterwards.
  • With Advanced Google consent mode, GA4 and GTM load straight away with everything denied and send cookieless pings until the visitor accepts.
  • In Notice mode the tags load straight away, as they do with the cookie banner off.
With the cookie banner off (the default), nothing changes: the tags load straight away and no consent commands are sent. Page views never carry the booking and attendees address parameters (they can hold attendee names and emails), nor the personal tokens of marketing links.

Event reference

Signup funnel

When fired: Customer lands on the signup/checkout page.
When fired: The signup form step loads for the first time.No payload.
When fired: Customer submits the main signup form with their personal details.No payload.
When fired: Customer submits the additional information form during signup (when extra fields are configured).No payload.
When fired: Customer completes the e-invoicing settings step during signup.No payload.
When fired: Customer selects a membership plan from the plan list.
When fired: The add-on products step loads during signup.No payload.
When fired: Customer increases the quantity of an add-on product.
When fired: Customer accepts the proposal/terms and confirms.No payload.
When fired: Customer completes the e-signature for the proposal document.No payload.
When fired: The payment step loads during signup.
When fired: Customer reaches the signup confirmation page after completing all steps.

Checkout — starting a purchase

When fired: Customer opens the booking checkout page and the resource details load.
When fired: Customer opens the product checkout page and the product details load.
When fired: Customer opens the event ticket checkout page and the event details load.
When fired: Customer opens the course checkout page and the course details load.

Checkout — payment and completion

When fired: Customer submits a payment form. Fired for each payment method (invoice, Stripe, Spreedly, PayPal).
When fired: Payment is processed and the confirmation page loads. Fired once per checkout regardless of items.
When fired: A booking purchase completes successfully. Fired once per booking in the invoice. Can occur via checkout (payment required) or directly (no payment due).
When fired: An event ticket purchase completes successfully. Fired once per attendee in the invoice. Can occur via checkout or directly.
When fired: A plan purchase completes successfully. Fired once per contract in the invoice. Can occur via checkout or directly.
When fired: A product purchase completes successfully. Fired once per product in the invoice. Can occur via checkout or directly.

Guest checkout

When fired: Customer clicks “Continue as guest” to proceed without signing in.
When fired: Guest customer creates a permanent account after completing their purchase.No payload.
When fired: Guest customer’s checkout is confirmed and payment succeeds.

Bookings

When fired: Customer creates a new booking (before payment, if any is required).
When fired: Customer modifies an existing booking (e.g. changes dates or times).
When fired: Customer clicks the book button on a resource to start an instant booking.
When fired: Customer confirms the instant booking in the confirmation dialog.
When fired: Customer dismisses the instant booking confirmation dialog without confirming.
When fired: Customer successfully cancels an existing booking.
When fired: Customer clicks to confirm a system-suggested booking from their dashboard.
When fired: Customer confirms a system-suggested booking in the confirmation dialog.
When fired: Customer dismisses the suggested booking confirmation dialog without confirming.

Events and courses

When fired: Customer registers for an event (before payment, if any is required).
When fired: Customer cancels their registration for an event.
When fired: Customer enrols in a course (before payment, if any is required).
When fired: Customer finishes a lesson and marks it as complete.
When fired: Customer finishes all lessons and reaches the course completion page.

Cart and basket

When fired: Customer views the cart page with items in it.
When fired: Customer views an empty cart page.No payload.
When fired: An item is added to the cart.
When fired: An item is removed from the cart.
When fired: The quantity of a product in the cart is changed.
When fired: Customer clicks “Proceed to checkout” from the cart page.
When fired: Customer views the cart checkout confirmation page.
When fired: Cart checkout completes successfully (for purchases with payment due).
When fired: Customer clicks “Continue shopping” from the cart page (potential cart abandonment).
When fired: Customer enters or applies a discount code in the cart or checkout.
When fired: Customer clicks “Continue to payment” to scroll to the payment section.

Products

When fired: Customer adds a product to their basket (from the store or quick-buy flow).

Authentication

When fired: Customer signs in successfully with valid credentials.No payload.
When fired: Customer attempts to sign in with invalid credentials.No payload.
When fired: Customer clicks a single sign-on (SSO) button on the sign-in page.
When fired: Customer signs out of their account.No payload.
When fired: Customer submits the forgot-password form to request a password reset email.No payload.

Profile and account

When fired: Customer saves changes to their personal information.No payload.
When fired: Customer saves changes to their billing information.No payload.
When fired: Customer subscribes to the newsletter from the articles page.No payload.

Help desk

When fired: Customer clicks the “Contact us” button to reach the help desk.No payload.
When fired: Customer creates a new support ticket.No payload.
When fired: Customer replies to an existing support ticket.No payload.
When fired: Customer closes an open support ticket.No payload.

Forms

When fired: Customer submits a custom form page.

Session and navigation

When fired: The Members Portal application loads for the first time.No payload.
When fired: A signed-in customer’s session begins (after authentication is confirmed).
When fired: An anonymous visitor’s session begins (not signed in).No payload.
When fired: Customer navigates to a public-facing page (landing, resource list, events, etc.).No payload.
When fired: Customer navigates to the sign-in or authentication pages.No payload.
When fired: Customer navigates to their personal dashboard.No payload.
When fired: Customer navigates to a location-specific page.No payload.
When fired: Customer navigates to a course page.No payload.
When fired: An admin user navigates to the admin section of the portal.No payload.

UTM attribution

The Members Portal automatically captures UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) from the landing URL and remembers them for 30 days, separately for each location. Conversion events carry those of the customer’s last visit with campaign parameters, so someone who arrives from a campaign and comes back a few days later to buy is still attributed to it. These are included as properties on conversion events such as signup_completed, checkout_completed, booking_purchase_completed, plan_purchase_completed, event_purchase_completed, product_purchase_completed, and guest_checkout_completed. This means you can track which marketing campaigns are driving signups and purchases without any additional configuration. Links in marketing emails from Nexudus can carry personal tokens (nxt and rt). The portal removes them from the address bar before any page view is sent, so they never reach Google Analytics or Google Tag Manager.

Analytics in embedded widgets

When you embed the Members Portal into your marketing website using widget embedding, Google Analytics continues to work automatically — no extra configuration is needed. However, there are some differences in how data is collected compared to the standalone portal.

How it works

Modern browsers restrict third-party cookies when content is loaded inside a cross-origin iframe (which is the case when your portal is embedded on a different domain). Since GA4 normally relies on cookies to identify returning visitors, the portal automatically switches to a cookieless tracking mode when embedded. In this mode:
  • All events and page views are still sent to your GA4 property or GTM container
  • A temporary session identifier is generated for each visit, so events within a single session are grouped correctly
  • Cross-session visitor recognition (e.g. “returning user”) is not available because the browser blocks the persistent cookies GA4 uses for this

Automatic upgrade on interaction

After a customer interacts with the embedded portal (e.g. clicks a booking button), the portal automatically requests cookie access from the browser using the Storage Access API. If the browser grants access, GA4 upgrades to full cookie-based tracking for the remainder of the session, restoring returning-visitor recognition. This happens silently and requires no action from you or your customers.

What this means for your reports

If you need full returning-visitor recognition from the first page load, direct customers to your standalone portal domain instead of using the embedded widget for those flows.

GA4 vs GTM — which should I use?

If you only need Google Analytics, use the GA4 Measurement ID. If you need to manage multiple marketing tags or apply custom triggers, use Google Tag Manager.