Google Analytics Events

Estimated time to complete: 3 minutes
Requirements: An account on NowButtons.com, Click tracking enabled

Captured event data

Event Category

All NowButtons events are grouped inside the Event Category NowButtons.

Universal Analytics

"eventCategory": "NowButtons"

GA4

ep.event_category: NowButtons

Event Action

Then each NowButtons event has an action element describing the action or function of the button that was clicked. The values for these are:

Universal Analytics

  • Anchor button:
    "eventAction": "ANCHOR"
  • Link button:
    "eventAction": "LINK"
  • Directions button:
    "eventAction": "MAP"
  • WhatsApp button:
    "eventAction": "WHATSAPP"
  • Text/SMS button:
    "eventAction": "SMS"
  • Email button:
    "eventAction": "EMAIL"
  • Phone button:
    "eventAction": "PHONE"

GA4

  • Anchor button:
    en: ANCHOR
    ep.action_type: ANCHOR
    ep.action_value: [Anchor link value]
  • Link button:
    en: LINK
    ep.action_type: LINK
    ep.action_value: [Link value]
  • Directions button:
    en: MAP
    ep.action_type: MAP
    ep.action_value: [location link value]
  • WhatsApp button:
    en: WHATSAPP
    ep.action_type: WHATSAPP
    ep.action_value: [whatsapp link value]
  • Text/SMS button:
    en: SMS
    ep.action_type: SMS
    ep.action_value: [sms link value]
  • Email button:
    en: EMAIL
    ep.action_type: EMAIL
    ep.action_value: [email link value]
  • Phone button:
    en: PHONE
    ep.action_type: PHONE
    ep.action_value: [phone link value]

Event Label

The Event label stores the button type that was clicked as well as the value of the button label. So if your button label was "Call now!", that value will be stored as well which allows you to test the impact of the label value ("which label text leads to the most calls?").

Here are some examples for the Single button, the Buttonbar and the Multibutton:

Universal Analytics

  • A single button with a Phone action and a label that says "Call now!":
    "eventLabel": "Single button | Call now!"
  • A Buttonbar with a Phone action and a label that says "Call now!":
    "eventLabel": "Buttonbar | Call now!"
  • A Multibutton with a Phone action and a label that says "Call now!":
    "eventLabel": "Multibutton | Call now!"

GA4

  • A single button with a Phone action and a label that says "Call now!":
    ep.event_label: Single button | Call now!
    ep.button_type: Single button
    ep.action_label: Call now!
  • A Buttonbar with a Phone action and a label that says "Call now!":
    ep.event_label: Buttonbar | Call now!
    ep.button_type: Buttonbar
    ep.action_label: Call now!
  • A Multibutton with a Phone action and a label that says "Call now!":
    ep.event_label: Multibutton | Call now!
    ep.button_type: Multibutton
    ep.action_label: Call now!

Event tracking of the Multibutton

While it's not really an action, the main button of the Multibutton also needs to be clicked to expand or collapse the contained actions. This is event is also registered. The information for this is:

Universal Analytics

  • "eventCategory": "NowButtons"
  • "eventAction": "Expander"
  • "eventLabel": "Multibutton | Open"
  • "eventLabel": "Multibutton | Close"

GA4

  • ep.event_category: NowButtons
  • ep.event_label: Multibutton | Open
  • ep.event_label: Multibutton | Close
  • ep.action_type: Expander
  • ep.action_value: click
  • ep.action_label: Open
  • ep.action_label: Close
  • ep.button_type: Multibutton

How to create a Conversion Goal in GA4 for a button click?

Step 1

Enable click tracking in NowButtons domain settings. (WordPress Cloud plugin users can find this under the General tab of the plugin Settings)

Step 2

Click on all the buttons you wish to track as conversions. (This will trigger the event tracking in GA for the first time so it learns about them.)

Step 3

Now wait 24 hours for the events to be processed by Google Analytics.

Step 4

Sign into your Google Analytics account and select the matching property.

Step 5

From the navigation on the left click Configure and select Events.

Step 6

You should now see your button clicks in the list of events. Click the toggle on the righ side of these events in the column called "Mark as conversion".