Share this guide
Pixel Custom Events

Send pixel events with Google Tag Manager

Use the FunnelTrack Pixel template to send custom events (like a demo request or trial start) from Google Tag Manager, all configured in the GTM UI with no hand-written JavaScript.

Recommended: turn on Google tag gateway
If you deploy through Google Tag Manager, we recommend enabling Google tag gateway for advertisers. It serves your Google tags (GA4, Google Ads, Tag Manager) from your own domain instead of Google's, so ad blockers and browser privacy limits drop less of your measurement. You can set it up from your Google tag settings or through a CDN like Cloudflare. See Google's setup guide.
Before you start: install the pixel in GTM
Event tags need the FunnelTrack pixel on the page. Add it as a Custom HTML tag on Initialization – All Pages first. See Install the pixel with Google Tag Manager.
Want to identify visitors without sending an event?
Use the template's Identify tag function. See Identify visitors with Google Tag Manager.

1. Import the template

A one-time setup in your container.

1

Download the template file

Download the FunnelTrack Pixel template file. You'll import it into GTM in the next step.

Download GTM template (.tpl)
2

Import it into GTM

In GTM open Templates and click New under Tag Templates (or Add tag template if you don't have any yet).

GTM Templates page with Add tag template

In the Template Editor, open the three-dot menu and choose Import, then select the FunnelTrack-Pixel.tpl file.

Template Editor three-dot menu with Import

The editor fills in as FunnelTrack Pixel. Click Save.

FunnelTrack Pixel template loaded in the Template Editor
FunnelTrack Pixel listed under Tag Templates

The template now appears as FunnelTrack Pixel in the Custom section when you create a new tag.

FunnelTrack Pixel in the GTM tag type list

2. Send an event (Event tag)

Fire on a click, form submit, dataLayer event, or page view.

1

Create the Event tag

Add a new tag of type FunnelTrack Pixel and give it a clear name, such as “FunnelTrack – Event – Start Trial”. Set Tag function to Event and enter the Event name, for example start_trial. You'll use this exact name to route the event in FunnelTrack.

Event name field set to start_trial
2

Add value, currency & parameters (optional)

Under Event data, set Value and Currency for events that carry a monetary value. Use Additional event parameters for anything else you want to send, as a name and a value or GTM variable.

Event data with value, currency and a trial_type parameter
3

Add contact info (recommended)

Under User-provided data, map any contact fields you have to GTM variables (email, phone, name, city, region, zip, country). They're hashed with SHA-256 in the browser before anything is sent.

We recommend attaching user-provided data
Whenever you have it, send the visitor's email and phone (plus name or address if available) with the event. It's hashed in the browser and used two ways:
  • Enhanced Conversions and Advanced Matching. Google Ads, Meta and other platforms use it to match more conversions to real people, which improves reporting and optimization.
  • Offline conversion tracking in FunnelTrack. It ties the visitor to a contact, so later offline conversions from your CRM or a custom webhook can match back to their original web session and ad click.
User-provided data with email and phone mapped to dataLayer variables
4

Set the trigger and save

Pick the trigger that matches the moment: a form-submit trigger for a demo request, a click trigger for a pricing-page CTA, or a Custom Event trigger for a dataLayer push like trial_started. Save the tag.

Firing right at page load? Add tag sequencing
The pixel snippet queues events sent before the pixel finishes loading, so most event tags need nothing extra. If an event tag can fire during Initialization or Consent Initialization, open Advanced Settings → Tag Sequencing and set your FunnelTrack Pixel Custom HTML tag to fire before it.
Tag Sequencing set to fire the FunnelTrack Pixel tag before the event tag
Publish your container
Click Submit → Publish in GTM once your tags are saved. Use Preview first to confirm each tag fires when expected.

3. Route the event in FunnelTrack

Map the event name to each destination once.

1

Find your event

In FunnelTrack open Integrations → Pixel Custom Events. Events your pixel has received show under Pixel Activity, so you can confirm the GTM tag is firing.

Pixel Custom Events page showing start_trial under Pixel Activity
2

Choose a destination

Under Available Integrations, click the destination you want to send to (Meta, Google Ads, GA4, and so on).

Available Integrations list on the Pixel Custom Events page
3

Add the event and map it

Click Add More Events, enter the exact event name from your GTM Event tag, and pick the destination's event (for example StartTrial on Meta). Turn it on and click Save Configuration. Value, currency and contact info come along automatically. Repeat for each destination.

Event Routing to Meta with Start Trial mapped to StartTrial

4. Verify it's working

Check both sides in the Event Delivery Log.

Open the Event Delivery Log, set the direction to Inbound and the source to FunnelTrack Pixel. Your event appears by its GTM event name. Expand a row to see the payload.

Inbound start_trial events from the FunnelTrack Pixel in the Event Delivery Log

Switch to Outbound to see each delivery with the destination event name and a delivered status.

Outbound StartTrial deliveries to Meta in the Event Delivery Log
Prefer to hand-code it?
The same events can be sent directly from your site's code. See the Direct implementation guide.

Appendix: Custom HTML fallback

Only if you can't use the template.

If you can't import the template, a Custom HTML tag works too. Guard on window.ft so it does nothing if the pixel tag hasn't run:

<script>
  if (window.ft && window.ft.event) {
    window.ft.event("start_trial", {
      value: {{DLV - value}},
      currency: "USD",
      email: {{DLV - email}}
    });
  }
</script>

More pixel guides