Skip to content
Showpiece

Integrations

Interactive demo events, in Google Analytics.

The snippet you paste passes each view, step, click and finish to the Google tag on your page, or to Tag Manager's data layer when that's what it runs.

The call the snippet makes, word for word, on the tool already on your page.

At a step, the snippet tells your Google Analytics

demo_step, as Google Analytics gets itJS
gtag("event", "demo_step", {
  demo: "Fernbill tour",
  step: 2,
  steps: 3,
  title: "Chase the oldest",
  chapter: "Chase it"
});

What arrives

What arrives in Google Analytics.

Five events, each carrying demo, the demo's name, so you can tell demos apart.

demo_view
The demo opened. With steps.
demo_step
It arrived at a step. With step, steps, title, chapter.
demo_button
A button on a card was clicked. With label, href, step.
demo_choice
A choice was chosen. With label, step, to.
demo_complete
It reached its end.
demo_view, as Google Analytics gets itJS
gtag("event", "demo_view", {
  demo: "Fernbill tour",
  steps: 3
});
demo_view, as Tag Manager gets itJS
dataLayer.push({
  event: "demo_view",
  demo: "Fernbill tour",
  steps: 3
});

Try it

Click through it.

A demo pasted into a page of its own. What happens in it arrives as Google Analytics gets it, written out by the snippet's own calls.

kestrel.app/demos/report.html
What your analytics hearlistening
  1. demo_viewKestrel · 3 steps—
  2. demo_stepstep 1 of 3 · Pick the month—
  3. demo_stepstep 2 of 3 · Build the report—
  4. demo_stepstep 3 of 3 · It's ready—
  5. demo_completeplayed to its end—
Sent to
// Nothing heard yet: it's heard once the demo has loaded.

Set it up

How it's set up.

In Google Analytics first, then in the editor.

  1. 01

    Put the snippet on a page that runs your Google tag or Tag Manager, with Send what happens to your analytics on. With the Google tag, each goes as an event of its name, gtag("event", "demo_step", { … }), the way Google's own are sent. With Tag Manager alone, it's pushed to the data layer as { event: "demo_step", … }.

  2. 02

    In Tag Manager, a Custom Event trigger whose Event name is one of them, like demo_complete, fires your tags on it.

  3. 03

    In Google Analytics, to report by demo or by step, make demo and step event-scoped custom dimensions: Admin, Data display, Custom definitions. Google says reports have them 24 to 48 hours later.

Good to know

Where it stops.

One or the other, never both.
When the Google tag is there it gets the events, and it feeds the data layer itself, so Tag Manager never counts them twice.
The demo's name, as a dimension.
To tell demos apart in your reports, add demo as an event-scoped custom dimension in Google Analytics.
Where your page runs it.
The snippet passes events to the Google tag, or Tag Manager, already on the page it's pasted into. A demo opened on its own sends nothing.
On unless you turn it off.
It's Export's Send what happens to your analytics, and nothing of ours loads with it.
Only the demo's own words.
Never anything about who's watching. What your analytics adds by itself is its own.
On Basic and Pro.
A Free demo tells its page nothing.

Integrations

The other tools.

HubSpot is a trademark of HubSpot, Inc. Adobe and Marketo Engage are either registered trademarks or trademarks of Adobe in the United States and/or other countries. Zapier is a trademark of its owner. Make is a trademark of its owner. Slack is a registered trademark of Slack Technologies. Google Analytics and Google Tag Manager are trademarks of Google LLC. Twilio, Segment and all related logos are trademarks of Twilio Inc. or its affiliates. PostHog is a trademark of its owner. Mixpanel is a trademark of Mixpanel, Inc. Showpiece isn't affiliated with, endorsed by or sponsored by any of them.

Record your first demo.

It's free to start. Add the extension and press record.