ga_mp_event: Create a Measurement Protocol Event

View source: R/measurement_protocol.R

ga_mp_eventR Documentation

Create a Measurement Protocol Event

Description

[Experimental] This creates an event to send via ga_mp_send

Usage

ga_mp_event(name, params = NULL, items = NULL)

Arguments

name

The event name to send in

params

Optional event parameters sent in as a named list

items

Optional items created via ga_mp_event_item

See Also

Other Measurement Protocol functions: ga_mp_cid(), ga_mp_event_item(), ga_mp_send()

Examples


ga_mp_event("custom_event")
ga_mp_event("custom_event", params = list(my_param = "SUPER"))

MarkEdmondson1234/googleAnalyticsR_public documentation built on Sept. 7, 2024, 6:27 a.m.