File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,14 @@ shinyUI(fluidPage(theme = shinytheme('lumen'),
7
7
tags $ head(tags $ script(' $(function () { $("#expressionPlot").click(function(e){ $("#ggvis-tooltip").hide(); }); })' ),
8
8
tags $ script(' $(function () { $("#difPlot").click(function(e){ $("#ggvis-tooltip").hide(); }); })' ),
9
9
tags $ script(' $(function () { $("#tabs").click(function(e){ $("#ggvis-tooltip").hide(); }); })' ),
10
- includeScript(" www/js/googleAnalytics.js" )),
10
+ tags $ script(" async src" = " https://www.googletagmanager.com/gtag/js?id=G-08PL1XMYLD" ),
11
+ tags $ script(" window.dataLayer = window.dataLayer || [];
12
+ function gtag(){dataLayer.push(arguments);}
13
+ gtag('js', new Date());
14
+ gtag('config', 'G-08PL1XMYLD');" )),
15
+ # includeScript("www/js/googleAnalytics.js")),
11
16
includeCSS(' www/style.css' ),
12
- extendShinyjs(script = ' www/ js/shinyjsFunctions.js' ,functions = c(' changeTree' ,
17
+ extendShinyjs(script = ' js/shinyjsFunctions.js' ,functions = c(' changeTree' ,
13
18
' open' ,
14
19
' deselect' ,
15
20
' setDefaultTree' ,
You can’t perform that action at this time.
0 commit comments