Returns the run rate for current month. It estimates the number of the rest of days of the current month.

If we are in the day 15 of 30, it will calculate the number of sessions (for example) of the rest of 15 days using an average (runs getAvgDailyTrafficFromWeek under the hood).

It's interesting to combine this data with the actual traffic data in order to calculate the total estimate traffic of that month.

Video Example


  • lastWeeksTraffic: List of numbers that the function will receive as an input.

Important: The number needs to represent weekly traffic, not daily or monthly because those arguments will get divided by the number of days they represent.

i.e. One args gets divided by 7, two per 14 and so on..

In Google Sheets the arrays are created using this notion => {value1 ; value2 ; cell1 ; ...}

Expected Output

  • number: Traffic run rate for the rest of days of the month

Text example

getRunRateCurrentMonth({B2 ; C2}) // 7, 7777
// Day 15 of 31 => 8.896 

Use cases

  • Calculate the traffic run rate of your current month's traffic

Last updated