Nothing
getUtmValue <- function() {
if (Sys.getenv("RSTUDIO") == "1") {
return("rsconnect-rstudio")
} else {
return("rsconnect")
}
}
# Add UTM query parameter for Posit Connect Cloud.
addUtmParameters <- function(url) {
utmValue <- getUtmValue()
if (grepl("\\?", url)) {
paste0(url, "&utm_source=", utmValue)
} else {
paste0(url, "?utm_source=", utmValue)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.