Skip to main content
All CollectionsGoogle Sheets FunctionsMarket Data Plan Functions
GORILLA_BIZSESSIONSHIST() – Displays daily historical sessions data from business reports

GORILLA_BIZSESSIONSHIST() – Displays daily historical sessions data from business reports

Updated over 2 months ago

GORILLA_BIZSESSIONSHIST() – Displays daily historical sessions data from business reports

Previously, as explained in the tutorial video, the GORILLA_SKUSTATUS() function did not include a ‘fulfillment’ filter. We have now added this filter, allowing you to easily retrieve and sort fulfillment status (FBA/FBM) information for your SKUs

Sample Usage

🚨 Use ranges (e.g.A2:A1000) in your formula wherever possible for quicker results and to prevent Google from blocking your account for 24 hrs due to overloading their resources. 
=GORILLA_BIZSESSIONSHIST("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", , , "2023-12-01", "2023-12-21")
=GORILLA_BIZSESSIONSHIST("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", 21)
=GORILLA_BIZSESSIONSHIST("TOY STORE", "This Week", A2:A10, "US", , "ALL")
=GORILLA_BIZSESSIONSHIST("TOY STORE", "This Month", "IPHN3724", , , "TotalPageViews")
=GORILLA_BIZSESSIONSHIST("TOY STORE", "Same Day Last Month", "IPHN3724", "US")
=GORILLA_BIZSESSIONSHIST("TOY STORE", "This Year")

Output Screenshot

Syntax Description:

BIZSESSIONHIST 1 Gorilla ROI

Description:

Displays daily historical sessions data from business reports.

Syntax:

GORILLA_BIZSESSIONSHIST(sellerId, period, [filter], [marketplace], [b2b], [datapoint], [days], [sort], [start_date], [end_date], [transpose], [header])

Seller ID – REQUIRED
Enter the seller ID or nickname you entered in your Gorilla account.

PERIOD – REQUIRED
Predefined period to get sessions information or use ‘custom’ to specify a start and end date.

FILTER – OPTIONAL
SKU or ASIN to filter the results. Can be a range of values like A1:A100 where A1 to A100 consists of values like SKU111, SKU222, SKU333 or ASIN123…

MARKETPLACE – OPTIONAL
Marketplace country filter. Country codes are US, CA, MX, BR, BE, UK, DE, ES, IT, FR, NL, PL, TR, IN, SE, AE, AU, SG, JP, EG, SA. Use ‘DEFAULT’ for your default market. Amazon Marketplace ID like ‘ATVPDKIKX0DER’ can be used too.

B2B – OPTIONAL
Show or hide B2B datapoints when datapoints filter is ‘ALL’ or not specified. Valid values are:

  • Include (DEFAULT)

  • Exclude.

DATAPOINT – OPTIONAL
Return data for specific data points. Can be a range of values like A1:E1 where A1 to E1 consists of different datapoint values. Default is empty value for all data points. Other Valid values are:

  • All (Default value. Will display a full table is nothing is entered.)

  • MobileAppPageViews

  • MobileAppPageViewsB2B

  • BrowserPageViews

  • BrowserPageViewsB2B

  • TotalPageViews

  • TotalPageViewsB2B

  • MobileAppSessions

  • MobileAppSessionsB2B

  • BrowserSessions

  • BrowserSessionsB2B

  • TotalSessions

  • TotalSessionsB2B

DAYS – OPTIONAL
Number of days to return starting from the current date. This filter will override any custom start date.

SORT – OPTIONAL
Date sorting criteria. Valid values:

  • Desc (DEFAULT)

  • Asc

START_DATE – OPTIONAL
Starting date for the data when period is custom. (Date is ignored if the days filter has a non-zero value like 5.)

END_DATE – OPTIONAL
Ending date for the data when period is custom. (Date is ignored if the days filter has a non-zero value like 5.)

TRANSPOSE – OPTIONAL
If empty or no, returns datapoints as header and SKU as a column. If yes, returns SKUs as headers and datapoints as a column.

HEADER – OPTIONAL
Include the header line in the results. Possible values: TRUE/FALSE. Default: TRUE

GORILLA_BIZSESSIONSHIST Attributes

Period Attributes:

Today

This month

Last 3 Months

Yesterday

This quarter

Last 12 Months

Same day last week

This year

Last 7 Days Week Ago

Same day last month

This Year-to-Last-Month

Last 7 Days Year Ago

Same day last year

Last Week

Last 30 Days Month Ago

Last 7 Days

Last Month

Last 30 Days Year Ago

Last 14 Days

Last Quarter

Last Week Year Ago

Last 30 Days

Last Year

Last Month Year Ago

Last 90 Days

Last 60 Days

YYYY-MM (change format to text)

This week

YYYY

YYYYQ1… YYYYQ4

Custom

Datapoint Attributes:

All

MobileAppPageViews

MobileAppPageViewsB2B

BrowserPageViews

BrowserPageViewsB2B

TotalPageViews

TotalPageViewsB2B

MobileAppSessions

MobileAppSessionsB2B

BrowserSessions

BrowserSessionsB2B

TotalSessions

TotalSessionsB2B

Examples:

🚨 Use ranges (e.g.A2:A1000) in your formula wherever possible for quicker results and to prevent Google from blocking your account for 24 hrs due to overloading their resources. 
=GORILLA_BIZSESSIONSHIST("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", , , "2023-12-01", "2023-12-21")

Gets All BIZSESSIONSHIST datapoints for B00YD545CC, including B2B datapoints for the US marketplace between Dec 1, 2023 and Dec 21, 2023.

=GORILLA_BIZSESSIONSHIST("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", 21)

Gets All BIZSESSIONSHIST datapoints for B00YD545CC, including B2B datapoints for the US marketplace within the last 21 days starting from current date.

=GORILLA_BIZSESSIONSHIST("TOY STORE", "This Week", A2:A10, "US", , "ALL")

Gets All BIZSESSIONSHIST datapoints for SKUs/ASINs within A2:A10 range, including B2B datapoints for the US marketplace within this week. Supports 2 dimensional ranges. Bulk return an array of values by assigning the range of the SKUs or ASINs. In this example the SKUs or ASINs are listed in A2:A10 and returns all values at once. Can also work for rows and ranges like A1:Z1 or D3:G37.

=GORILLA_BIZSESSIONSHIST("TOY STORE", "This Month", "IPHN3724", , , "TotalPageViews")

Gets BIZSESSIONSHIST ‘TotalPageViews’ datapoint for ‘IPHN3724’ for all Marketplaces within this month.

=GORILLA_BIZSESSIONSHIST("TOY STORE", "Same Day Last Month", "IPHN3724", "US")

Gets All BIZSESSIONSHIST datapoints for ‘IPHN3724’, including B2B datapoints for the US marketplace the same day last month.

=GORILLA_BIZSESSIONSHIST("TOY STORE", "This Year")

Gets All BIZSESSIONSHIST datapoints for all SKUs/ASINs, including B2B datapoints for current year.

To get quarterly data use the format YYYYQ1, YYYYQ2, YYYYQ3, YYYYQ4 as the preset period.

To get monthly data, use the format YYYY-MM as the preset period.

Did this answer your question?