Cannot trace with google analytics in shiny

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"),


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?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.