Skip to main content

New Introducing the Holiday Hub — seasonal templates and ideas to plan your holiday campaigns in one place.Introducing the Holiday Hub.Explore the Holiday Hub

Custom Events data

Max plan Last reviewed

Custom events let you count anything ShortStack doesn't already track, such as how many people finished a quiz. Add a Log analytics event action to an Action Widget, and ShortStack counts every time it runs on your published campaign. See the counts on the Custom Events tab, under Manage → Analytics. It needs the Max plan.

What you can do with custom events

ToDo this
Count something ShortStack doesn't track, such as quiz completionsLog an event from an Action Widget.
See how many times each event happenedOpen the Custom Events tab.
Compare two eventsCheck the table below the graph, which has a row for each event.
Send campaign activity to Google Analytics or the Facebook Pixel insteadUse the Tracking Widget. See Which tool to use.

Before you start

  • Custom events need the Max plan. Action Widgets are on every plan, but the Log analytics event action and the Custom Events tab are Max features. On other plans, the action isn't offered.
  • You set events up in the Campaign Builder, not in Analytics. The Custom Events tab only reports them. If it's empty, check your Action Widget.
  • One action logs one event. To track several things, add a separate Log analytics event action for each, with its own Event value.
  • Custom events stay inside ShortStack. They aren't sent to Google Analytics or the Facebook Pixel; the Tracking Widget does that.
  • The Event value is the event's only name. Pick one you'll still recognize in six months, such as quiz_completed rather than test_1.

Log an event from an Action Widget

Custom events are an action in an Action Widget. These steps assume your campaign has an Action Widget with a WHEN trigger.

  1. Open the Action Widget's settings, and go to SETUP.
  2. Under WHEN, set the trigger, such as Widget labeled form-container is successfully submitted.
  3. Under THEN, click the blue + button. The Edit Action window opens.
  4. Under CATEGORY, choose Campaign.
  5. Under ACTION, choose Log analytics event. An Event value field appears.
  6. In Event value, type the name to record this event under.
  7. Click SAVE. The action shows in the THEN list as Log analytics event with value, followed by your value.
  8. Click SAVE AND EXIT, then publish your changes.

Examples

What you want to knowTHEN actionEvent value
How many people finished the quizQuiz Answers Container is Shown/Visiblequiz_completed
How many people opened the rules before enteringRules Text Widget is Shown/Visiblerules_opened
How many people reached page 2 of a multi-page formPage 2 is Shown/Visibleform_page_2_reached

The event is logged by the action, not the trigger, so add Log analytics event to the same THEN list as the action you want to count.

Values are recorded exactly as typed: quiz_completed and Quiz_Completed are two separate rows. Keep to one style across a campaign. Action labels make the widgets you're targeting easier to find.

Open the Custom Events tab

  1. Click Manage at the top, then Analytics, or go straight to the Analytics Manager.
  2. In the filters, choose your campaign.
  3. Set the date range you want to see.
  4. Click the Custom Events tab.

What's on the page

AreaWhat it shows
Custom EventsEvery event recorded, across all event values.
Unique VisitorsVisitors who fired at least one custom event. It counts people, not events: one visitor firing an event twice shows as 2 events and 1 unique visitor.
Custom Events SummaryA graph of events and unique visitors each day. Click a label to hide or show that line.
Table by Event ValueOne row for each event value, with its own Events and Unique Visitors. Use it to compare events.

To get the graph's data as a spreadsheet, click the hamburger icon (≡) on the graph and download a CSV. To save a report, click Actions at the top right, then Export PDF.

What happens when you change things

If youThen
Delete the action, or the whole Action WidgetNo new events are logged. Events already recorded stay in the report.
Change the action the event is attached to on a published campaignCounts from before and after the change are mixed in one row, so they can be misleading. For example, showing Container_12 instead of Container_14.
Change the Event valueA new row starts in the table. The old row keeps its counts.
Change the time zone in AnalyticsEvents can move to a different day. An event at 11 PM PDT may fall on the next day in another time zone.
Preview the campaign, or test it in the BuilderNothing is recorded. Custom events are only recorded on the published campaign.

If something goes wrong

What you seeWhat to do
The tab is emptyCheck you've chosen the right campaign and a date range that covers your test. Analytics opens on the campaign and dates you last used.
The tab is empty, though the campaign and dates are rightCheck the Action Widget isn't inside a hidden container, and that its visibility isn't Inactive or limited by date, time or country.
The Action Widget is visible, but nothing is loggedMake sure the trigger fires: add a second action that does something visible, and test. Then check you clicked Publish Changes after your edits.
Some events appear and others don'tActions run top to bottom. If a Redirect campaign action is above Log analytics event, the redirect can happen first. Drag the event above it.
Two events are counted in one rowThey use the same Event value. Give each its own.
Events is much higher than Unique VisitorsPeople fired the event more than once, which is expected when a trigger can happen several times in a visit.
Unique Visitors looks wrongVisitors are told apart by device fingerprint. On the Max plan, turning on Advanced data analytics makes this more accurate.
A new event hasn't appeared yetAllow up to 15 minutes. Most events show within a few minutes.

Which tool to use

ToolUse it whenData shows in
Custom eventsYou want to count something ShortStack doesn't already report, inside ShortStack.The Custom Events tab
Tracking WidgetYou want campaign activity in Google Analytics or the Facebook Pixel, alongside the rest of your site.Google Analytics or the Facebook Pixel
Clicks dataYou want clicks on buttons and links. They're tracked automatically, with no setup.The Clicks tab

FAQs

Do custom events count toward entries, points, or votes?

No. Logging an event records a number in Analytics and nothing else. It does not create an entry, award points, or affect any other report.

Is there a limit on how many different event values one campaign can have?

No. Create as many events as you need.

If the same person triggers an event twice, does it count twice?

Yes. The Custom Events figure counts every time the action fires. Unique Visitors counts the people behind those fires, so two fires by one person show as 2 events and 1 unique visitor.

Can I delete custom event data?

No. Once logged, it stays in your campaign analytics and cannot be deleted.

Was this helpful?