I am trying to embed tag to my shiny webapp using Rstudio.
I put the tag in via this code:
ui <- fluidPage(theme = shinytheme("cerulean"),
tags$head(includeScript("google-analytics.js")),
After that i create a java file containing the tag provided. The webpage run fine but i am not getting any results. i have visitted my webpage but it is not tracking me.
i am following the guides shown in here Shiny - Add Google Analytics to a Shiny app
but i am still not successful. Can somebody help?