SkyGlue GA4 Event Tracking
Default GA4 event tracking setup in SkyGlue
SkyGlue offers robust automatic event tracking and customized event tracking capabilities in GA4. This document outlines the SkyGlue event tracking naming conventions and configurations in the GA4 environment.
Default GA4 SkyGlue automatic event names:
SkyGlue can automatically track many events on your web page beyond the GA4 enhanced measurement automatic events. Default GA4 event names for SkyGlue auto-tracked events are “on_page_event_sg”. Please contact us if you want to use a different naming convention for your account. We can also use existing “event category” values as GA4 event names.
Default GA4 event parameter names:
Since GA4 has a quota of 50 event-scope custom dimensions, it’s best to reuse the same set of event parameter names to avoid reaching the limit.
To simplify the event name configuration, SkyGlue allows a list of default event parameter names. The default event parameter names are set with the following list of names in order:
String values: “event_category”, “event_action”, “event_label”
Numeric values: “event_value”.
In GA4, to see the event parameters in GA4 reports, you need add event parameters and event metrics in GA4 the configuration. Please see details on how to add event parameters in GA4
You can always use event-specific event parameter names by setting them in the SkyGlue event definition column in your SkyGlue portal. Please contact us if you want to use different default event parameter names for your account.
The list of event parameter values you configure in the SkyGlue portal can be automatically mapped to the list of default event parameter names.
For example, if you configure an event as myGA4EventName–>myEventCategory||myEventAction~~123
The GA4 event name is “myGA4EventName”. The event parameters and value are:
{ “event_category” : “myEventCategory”,
“event_action” : “myEventAction”,
“event_value” :123}
The SkyGlue automatic events will use the first string value event parameter name (default value is “event_category”) to set the event related data, e.g. “Link::Sign up”.
Customize SkyGlue events in GA4
To configure a GA4 event in SkyGlue, you have the following options:
[eventName]–>[Event string parameter values delimited by “||”]~~ [Event numeric parameter values delimited by “||”]<->[Event string parameter names delimited by “||”]~~ [Event numeric parameter names delimited by “||”]
The following is an example:
myGA4EventName–>myEventCategory||myEventAction||myEventLabel~~myEventValue1||myEventValue2<->myStringName1||myStringName2||myStringName3~~myNumberName1||myNumberName2
The minimum event definition is a single string (eg. myGA4EventName). It will be treated as the GA4 event name.
To use the default event parameter names, you can skip the suffix that specifies new event parameter names (part after the <->).
For example:
myGA4EventName–>myEventCategory||myEventAction||myEventLabel~~myEventValue1||myEventValue2