From 02266b8899728f08cafba80d02b21d9692f77baa Mon Sep 17 00:00:00 2001 From: googleCloudRunner Date: Sat, 17 Apr 2021 08:49:00 +0000 Subject: [PATCH] [skip travis] Build website from commit 2278addbf2e385b16de21d140f113a48608fca24: $(date +"%Y%m%dT%H:%M:%S") --- docs/articles/measurement-protocol-v2.html | 22 +++++++++++----------- docs/index.html | 2 +- docs/pkgdown.yml | 2 +- docs/reference/ga_meta.html | 2 +- docs/reference/ga_mp_send.html | 8 ++++---- docs/reference/ga_trackme_event.html | 10 +++++----- docs/reference/meta.html | 2 +- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/articles/measurement-protocol-v2.html b/docs/articles/measurement-protocol-v2.html index c6d7a685..3c84e226 100644 --- a/docs/articles/measurement-protocol-v2.html +++ b/docs/articles/measurement-protocol-v2.html @@ -368,9 +368,9 @@

event <- ga_mp_event("an_event") ga_mp_send(event, a_client_id, my_connection, debug_call = TRUE) -
## ℹ 2021-04-17 08:31:18 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-1234&api_secret=MY_SECRET 
+
## ℹ 2021-04-17 08:48:28 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-1234&api_secret=MY_SECRET 
 ##  {
-##   "client_id": "74186036.1618648279",
+##   "client_id": "98142963.1618649309",
 ##   "non_personalized_ads": true,
 ##   "events": [
 ##     {
@@ -378,8 +378,8 @@ 

## } ## ] ## }

-
## ℹ 2021-04-17 08:31:18 > Response:  200
-
## ℹ 2021-04-17 08:31:18 > No validation messages found
+
## ℹ 2021-04-17 08:48:28 > Response:  200
+
## ℹ 2021-04-17 08:48:28 > No validation messages found
## [1] TRUE

You can send many events in on send:

@@ -388,9 +388,9 @@ 

a_client_id, my_connection, debug_call = TRUE)

-
## ℹ 2021-04-17 08:31:18 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-1234&api_secret=MY_SECRET 
+
## ℹ 2021-04-17 08:48:28 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-1234&api_secret=MY_SECRET 
 ##  {
-##   "client_id": "74186036.1618648279",
+##   "client_id": "98142963.1618649309",
 ##   "non_personalized_ads": true,
 ##   "events": [
 ##     {
@@ -401,8 +401,8 @@ 

## } ## ] ## }

-
## ℹ 2021-04-17 08:31:19 > Response:  200
-
## ℹ 2021-04-17 08:31:19 > No validation messages found
+
## ℹ 2021-04-17 08:48:29 > Response:  200
+
## ℹ 2021-04-17 08:48:29 > No validation messages found
## [1] TRUE

Events are flexible with the number of parameters you send with the event name - this allows for rich data streams. The data parameters can be added via the params argument and accepts (nested) named R lists:

@@ -480,7 +480,7 @@ 

ga_trackme_event(debug_call = TRUE, say_hello = "Documentation is a feature")

## Warning in file(con, "r"): cannot open file '/builder/home/.config/
 ## googleAnalyticsR/optin-tracking': No such file or directory
-
## ℹ 2021-04-17 08:31:19 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-43MDXK6CLZ&api_secret=_hS_7VJARhqbCq9mF3oiNg 
+
## ℹ 2021-04-17 08:48:29 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-43MDXK6CLZ&api_secret=_hS_7VJARhqbCq9mF3oiNg 
 ##  {
 ##   "client_id": "12345678.987654",
 ##   "non_personalized_ads": true,
@@ -498,8 +498,8 @@ 

## } ## ] ## }

-
## ℹ 2021-04-17 08:31:19 > Response:  200
-
## ℹ 2021-04-17 08:31:19 > No validation messages found
+
## ℹ 2021-04-17 08:48:29 > Response:  200
+
## ℹ 2021-04-17 08:48:29 > No validation messages found
## [1] TRUE

Send your own messages if you like! I will read them in the GA4 interface.

diff --git a/docs/index.html b/docs/index.html index fd8e7b3e..76265c9e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -21,7 +21,7 @@ + GA4's Data API and Admin API and Multi-Channel Funnel API.">