#-------------------------------------------------------------------------------
# report.Rmd (marketeR)
#-------------------------------------------------------------------------------

# Set up general .rmd options --------------------------------------------------
options(digits = 0, scipen = 999)
monthName <- format(basicMetrics.data$yearMonth[nrow(basicMetrics.data)], '%B %Y')

title: "report - Month of r monthName" author: "Generated with marketeR, a web analytics toolbox for digital marketers" date: "r format(Sys.time(), '%d %B, %Y')" output: html_document


Executive Summary


Basic Metrics


multiplot(sessions.plot, percentNewsessions.plot, avgSessionDuration.plot, bounceRate.plot, cols = 2)

Distributed Metrics


Sessions distributed by Channel Grouping

channelGrouping.plot

Sessions distributed by social channels

socialNetwork.plot

Sessions distributed by devices

deviceCategory.plot

User Metrics


Country

country.data <-
country.data %>%
  select(country, sessions)
knitr::kable(country.data)

User Gender

userGender.plot

User Age Bracket

userAgeBracket.plot

Content Metrics


Top keywords

keyword.data <-
keyword.data %>%
  select(keyword, sessions)
knitr::kable(keyword.data)

Top content

topContent.data <-
topContent.data %>%
  select(pagePath, sessions)
knitr::kable(topContent.data)


thesmarthomeninja/marketeR documentation built on May 27, 2019, 1:09 p.m.