Track website feedback with Google Analytics 4

Measure how visitors interact with your Novella feedback button alongside the rest of your website activity in GA4. You can track button visibility, survey openings, rating selections, completed responses and survey closures.

Before you start

You need an installed Novella website script and an active feedback button survey. Your website must also have either a Google tag for GA4 or a Google Tag Manager container configured for GA4. You need permission to manage workspace settings in Novella.

This integration currently covers the website feedback button. It does not track standalone survey links, QR codes or email embeds.

Enable tracking in Novella

  1. Open Settings → Integrations.
  2. Find Google Analytics 4.
  3. Under Send widget events using, choose Google tag (gtag.js) or Google Tag Manager.
  4. For Google tag, enter your website’s GA4 measurement ID, such as G-XXXXXXXXXX.
  5. Click Save Google Analytics settings.

Tracking is off by default. The setting applies to the workspace’s website feedback buttons. You do not need to sign in to Google through Novella or change your existing Novella embed snippet. Reload your website to pick up the setting immediately; already open pages normally refresh their widget configuration within a minute.

Option 1: Google tag

Choose this option when your website already exposes the gtag() function. Use the measurement ID for the GA4 web stream configured on that website. You can find it in your GA4 property under Admin → Data streams, then select the website stream.

Make sure your existing Google tag is configured before the Novella widget loads. Novella sends each interaction to the specified measurement ID. It does not install Google Analytics or configure a new Google tag for you. If gtag() is unavailable at the time of an interaction, that event is skipped.

Option 2: Google Tag Manager

With this option, Novella pushes events to the website’s dataLayer. You must configure and publish a tag in your GTM container to send them to GA4.

  1. Create a Custom Event trigger.
  2. Use this event-name pattern and enable Use regex matching:
^novella_(widget_impression|widget_opened|rating_selected|survey_completed|widget_closed)$
  1. Create Data Layer Variables, using Data Layer Version 2, for survey_id, widget_id, delivery_channel, widget_variant and rating.
  2. Create a Google Analytics: GA4 Event tag for your existing GA4 destination. Set its event name to the built-in Event variable, {{Event}}.
  3. Add the five event parameters using the corresponding Data Layer Variables, and attach the custom event trigger. rating has a numeric value only for rating selections; Novella clears it on other events.
  4. Check the tag’s consent configuration, test with GTM Preview, and publish your container.

Select one tracking method in Novella. Avoid adding another tag that sends the same interactions a second time.

Events

EventWhen it fires
novella_widget_impressionThe feedback button is displayed, once per widget, browser session and page URL with query parameters and fragments removed.
novella_widget_openedThe survey panel opens. Clicking an already open panel’s feedback button does not send another opening.
novella_rating_selectedThe survey reports its first rating selection for that opening.
novella_survey_completedThe survey confirms a successful submission, once per opening.
novella_widget_closedThe visitor closes an open panel, including with Escape. Automatic cleanup does not count as a closure.

A closure can happen after completion, so it should not automatically be treated as abandonment. GA4 and Novella totals may differ because of consent settings, blocked tags and browser behavior.

Event parameters

ParameterValue
survey_idThe survey’s public unique ID.
widget_idThe website widget’s unique ID.
delivery_channelwebsite_widget.
widget_variantfeedback_button.
ratingThe numeric selected score, for novella_rating_selected.

To use these fields in GA4 reports, register event-scoped custom dimensions for the four text parameters. Register rating as an event-scoped custom metric if you want to report on it. Survey and widget IDs can create many distinct values; use them when individual-survey analysis is useful.

The integration uses your website’s existing analytics setup. Novella does not grant analytics consent, load a consent banner or override your Google tag’s consent state. Configure your consent platform and Google tags before enabling tracking. In GTM, a data layer event alone does not send data to Google; your tag and its consent configuration determine that.

Novella’s added event fields exclude names, email addresses, companies, written feedback, security tokens and Novella visitor/session IDs. Google Analytics can still attach page and browser information through your existing tag configuration. Check that your website URLs do not expose personal information.

If your Novella script uses data-analytics="false", it also suppresses these GA4 events.

Check that tracking works

Open your website, allow analytics through your consent banner where applicable, and complete a test survey. For GTM, use Preview to confirm the custom events appear and the GA4 event tag fires. In GA4, check Realtime; use DebugView when your test session has debug mode enabled.

If events are missing, check that tracking is enabled in the correct Novella workspace, the feedback button appears on the page, and the measurement ID matches your website’s GA4 stream. For Google tag, check that gtag() exists before the interaction. For GTM, check that your container changes are published and the trigger matches the event names above. Also check consent settings and browser extensions that block analytics.

Turn tracking off

Return to Settings → Integrations → Google Analytics 4, select Off, and save. Reload your website to apply the change immediately. Turning off this integration leaves Novella’s own analytics setting unchanged.

Further reading