gtm_triggers_create: gtm_triggers_create

Description Usage Arguments

View source: R/gtm_triggers_methods.R

Description

Create a new trigger for the GTM account

Usage

1
2
3
4
5
6
7
8
9
gtm_triggers_create(
  account_id,
  container_id,
  workspace_id,
  token,
  trigger_name,
  trigger_df,
  verbose = FALSE
)

Arguments

account_id

The ID of the account

container_id

The ID of the container

workspace_id

The ID of the workspace

token

An OAuth token object

trigger_name

The name of the trigger

trigger_df

A three column dataframe of the values you want to use for your trigger. Must be formatted by input argument (i.e. 'Event Name'), matching method (see GTM list, but for example 'endsWith'), and matching value, i.e. '_click'

verbose

If you want a message letting you know that your results have been successfully retrieved. Defaults to FALSE


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