pc_set_ga_id: Set or retrieve the Google Analytics viewId as an environment...

Description Usage Arguments Value Examples

View source: R/pc_set_ga_id.R

Description

Set or retrieve the Google Analytics viewId as an environment variable

Usage

1
pc_set_ga_id(ga_id = NULL)

Arguments

ga_id

A numeric vector of length one corresponding to a Google Analyitcs viewId.

Value

The Google Analytics viewId currently recorded as environment variable.

Examples

1
2
3
4
5
6
pc_set_ga_id(ga_id = 1234567)

# If set, this function can be used to retrieve the id.

my_ga_id <- pc_set_ga_id()
my_ga_id

giocomai/popularitycheckr documentation built on Aug. 1, 2020, 11:50 a.m.