View source: R/trackingScript.R
trackingScriptOut | R Documentation |
This function creates a tracking script for Google Analytics.
trackingScriptOut(trackingID)
trackingID |
This is the tracking ID created by the Google Analytics properties page. |
tags$head(trackingScriptOut(trackingID))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.