Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ga_mp_event

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"))

googleAnalyticsR

Google Analytics API into R

v1.0.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>), Artem Klevtsov [ctb], Johann deBoer [ctb], David Watkins [ctb], Olivia Brode-Roger [ctb], Jas Sohi [ctb], Zoran Selinger [ctb], Octavian Corlade [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.