Skip to content

Use Google Tag Manager with ClarNow forms

Add your Google Tag Manager container to a ClarNow form and fire whatever tags you need — GA4, Google Ads, LinkedIn, TikTok — on form starts, questions and submits, with the score and ending as variables.

The container loads when the form opens (GTM’s own Initialization and Container Loaded triggers fire as usual). Then ClarNow pushes:

When event Under clarnow
The respondent reaches the first question clarnow.form_started formId
A question comes on screen clarnow.step_viewed formId, index (position in the respondent’s path, from 0), fieldRef (the question’s reference)
The response is saved clarnow.form_submitted formId, ending (id, title), and on a scored lead form lead_score, lead_percent, categories

An example push on submit:

{
event: 'clarnow.form_submitted',
clarnow: {
formId: 'fgtm6Ae',
ending: { id: 'eLrVqM', title: 'Hot lead' },
lead_score: 18,
lead_percent: 50,
categories: {
traffic: { title: 'Traffic quality', score: 9, max: 9, percent: 100 }
}
}
}

Every submit is pushed — the Count as a lead setting of GA4 and Meta Pixel doesn’t apply here. Filter on clarnow.ending.id in your trigger to fire only for some endings.

  • A ClarNow organization on the Pro plan or higher.
  • Edit access to the form.
  • A GTM web container and its ID, which looks like GTM-XXXXXXX.
  1. Open the form in the ClarNow builder and go to Connect → Analytics, then click the Tag Manager tile.

  2. Paste the container ID and click Save. The panel shows “Connected — loads on the form’s direct link”.

  3. Set up the container in GTM, as below, and publish it.

The container loads at once — you don’t need to republish the form.

  1. Variables → New → Data Layer Variable (version 2), one for each value you need: clarnow.formId, clarnow.fieldRef, clarnow.ending.title, clarnow.lead_score, clarnow.lead_percent, clarnow.categories.<category id>.percent.

  2. Triggers → New → Custom Event, event name clarnow.form_submitted — and the same for clarnow.form_started or clarnow.step_viewed if you want them.

  3. Tags → New, for example Google Analytics: GA4 Event with the event name generate_lead and parameters from the variables of step 1 (value ← clarnow.lead_score, form_ending ← clarnow.ending.title), fired by the trigger of step 2.

  4. Preview. Open the form’s link from Tag Assistant and go through it: the events appear in the timeline with the clarnow object in the Data Layer tab.

GTM keeps values from earlier pushes, so a key from one event (clarnow.fieldRef) can still be read at a later one. Read the keys that belong to the event that fired. A custom GA4 parameter needs a custom dimension (GA4 Admin → Custom definitions) before it shows in reports.

Turn on Cookie consent on the same Connect → Analytics tab and publish the form. Respondents then see an Accept / Decline banner, and the container isn’t loaded until they accept. Events from before the answer are pushed on Accept and dropped on Decline. The choice is remembered per form in the respondent’s browser.

With cookie consent off, the container loads as soon as the form opens. Whether you need consent depends on where your respondents are and how you use the data — the decision, and the responsibility, are yours.

What Where it goes Why
The events above, in the dataLayer of the form’s page Your GTM container, and whatever tags you fire from it Your analytics and ads

The container runs in the respondent’s browser under your Google account, as on any page of your site, and its tags send what you configure them to. For that data you are the controller, and Google and the vendors whose tags you fire are your vendors, not ClarNow’s subprocessors. ClarNow sends them nothing from its servers and puts no answers in the events. See the Privacy Policy.

What ClarNow stores: the container ID, on the form.

  1. Open the form → Connect → Analytics → Tag Manager.

  2. Click Remove.

What changes: the container no longer loads on the form’s link, at once.

What stays: the container in GTM, and the data its tags already sent.

Which ClarNow plan do I need for Google Tag Manager?

Pro (€24/mo billed annually, €30 monthly) or Business. On a lower plan the tile is locked. If you downgrade, the container stops loading; the ID stays so you can remove it.

Does it work when the form is embedded on my site?

Your container ID loads only on the form's own link. Inside an embed, the embed pushes the same clarnow.* events into your page's dataLayer, if the page has one — so the same triggers and tags work in the container already on your site.

Are answers pushed to the dataLayer?

No. The events carry the form ID, the question's reference and position, the ending, and on a scored lead form the score, percent and category results — no answers. Form variables are left out too, because a form can copy an answer such as an email into one.

I also added a GA4 ID in ClarNow. Is that a problem?

Use one. A GA4 tag inside your container and a GA4 ID in ClarNow would both count the same visit.

Can the container fire tags before the respondent agrees to cookies?

Not if the form has cookie consent on. Then the container itself only loads after the respondent clicks Accept.

Email [email protected] or pick a case on the contact page — no account needed. We reply within two business days, usually within one. See also Support, the Privacy Policy and the Terms of Service.