gtm_create_var: gtm_create_var

Description Usage Arguments

View source: R/gtm_variables_create_methods.R

Description

Make the list to pass to the GTM API for a parameter, user property or data layer variable

Usage

1
2
3
4
5
6
gtm_create_var(
  variable_name,
  var_code,
  set_default = FALSE,
  default_value = FALSE
)

Arguments

variable_name

The value of the GA web property to send data to

var_code

Either 'fup', 'md' or 'v'

set_default

Do you want to set a default value? Logical vector, but defaults to FALSE

default_value

Do you want to set a default value? Logical vector, but defaults to NULL


neugelb/gtmr documentation built on June 25, 2020, 10:06 a.m.