inst/shiny/ga4-example/segment_ga4_helper/app.R

library(shiny)
library(googleAnalyticsR)

ui <- shinyUI(fluidPage(
   
  segmentBuilderUI("test1")

))


server <- shinyServer(function(input, output, session) {
   
  callModule(segmentBuilder, "test1")
  
})

# Run the application 
shinyApp(ui = ui, server = server)

Try the googleAnalyticsR package in your browser

Any scripts or data that you put into this service are public.

googleAnalyticsR documentation built on Oct. 16, 2022, 1:06 a.m.