![](../logo.png)
init_analytics
init_analytics.Rd
Creates the google-analytics.html script in order to allow the activation of analytics via GA4. For the full steps required to set up analytics, please refer to the documentation in the README.
Examples
if (interactive()) {
init_analytics(ga_code = "0123456789")
}