Learn R Programming

gentelellaShiny (version 0.1.0)

trackingTags: Tracking tags for your app

Description

Tracking tags for your app

Usage

trackingTags(tag_template = c("ga", "gtm", "freeform"), tag_code)

Arguments

tag_template

Tracking tag template

tag_code

If GA, the UA code. If GTM, the GTM code.

tag_code depends on what tag_template is:

  • ga: The UA code (UA-xxxxxx-x)

  • gtm The GTM code (GTM-xxxxx)

  • freeform The JS code

If you select a tag template, you can put UA-xxxx-x as tag_code

Value

JavaScript for tracking