# Global code; gets executed at plumb() time.
counter <- 0
#* @get /
function(){
# Only gets evaluated when this endpoint is requested.
counter <<- counter + 1
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.