GrownBy Analytics

GrownBy allows farmers to connect their shops to third party analytics services such as Google (GA4) and Meta Analytics. These services allow you to track helpful ecommerce information such as their most popular products and revenue over time, as well as conversion tracking for advertisements run through Google Ads or Meta on platforms such as Facebook and Instagram. By linking your Google Measurement ID or Meta Pixel to GrownBy, you can gain valuable insight into advertisement campaigns and the growth of your shop.

To link these services, navigate to your Farmer Dashboard > Account Settings (sidebar option) > Analytics (tab). Notably, because these are third-party analytics services that collect some personal information from consumers, consumers are given the option to opt-out of tracking when they start using the platform. Because of this, it is important to keep in mind that the information gathered through Google and Meta will not necessarily capture all traffic to your farm shop page.

Google

To use Google Analytics 4 with GrownBy, there are a few prerequisites you must have:

  • A GA4 account
  • A GA4 property to link to GrownBy
  • A web data stream in your property
  • Knowledge of navigating GA4 reports dashboards

For more information on basic GA4 analytics setup, see the official Google documentation.

Linking your GA4 Measurement ID

On the Analytics tab of your Account Settings page, you'll find an input that asks for your GA4 measurement ID. This is a "tag" of the form G-XXXXXXXXXX that is injected onto your shop page so it can start sending the information from GrownBy to your GA4 property. To find your measurement ID, follow these steps:

  1. Go to Admin

    GA4 Admin navigation
  2. Go to Data streams

    GA4 Data streams option
  3. Go to your web data stream

    Selecting the web data stream in GA4
  4. Copy your measurement ID

    GA4 web stream details showing the measurement ID

Copy and paste the whole measurement ID into GrownBy's prompt on the Analytics settings page.

Google Analytics Data

GrownBy sends many ecommerce events that automatically populate your dashboard, such as purchase, share, add to cart, and view item, as well as some custom events that need to be added manually to your dashboards for them to appear in your property. The custom events we send are as follows:

TitleProperties
view_csa
Occurs when a customer views a CSA shop
farm_id - your farm's unique id
csa_id - the unique id of the csa viewed
csa_name - the name of the csa viewed
view_farm_profile
Occurs when a customer views your farm profile
farm_id - your farm's unique id
Is_favorite - whether the customer has your farm in their favorites
view_farm_shop
Occurs when a customer views your main shop
farm_id - your farm's unique id
location_id - the id of the location the customer viewed (if any)
category_id - the id of the category the customer filtered by (if any)
search_term - what the customer searched for on your shop (if any)
ebt_only - true if a user filtered by items that are marked EBT only

Note that for GA4, we only send data from our web traffic to your property. Your data will not include any revenue/analytics data from mobile users.

Meta

To use Meta Pixel with GrownBy, there are a few prerequisites you must have:

  • A Meta Business Suite account
  • Access to your business's Ads Manager

Linking your Meta Pixel

On the Analytics tab of your Account Settings page, you'll find an input that asks for your Meta Pixel. This is an ID that identifies your Meta Business so we can connect our data to it. To find your Pixel, follow these steps:

  1. In Ads Manager, navigate to the Events Manager

    Meta Ads Manager with Events Manager highlighted
  2. In your Events Manager, navigate to Data Sources and the string of numbers by ID or under Dataset ID is your Meta Pixel

    Meta Events Manager Data Sources showing the Pixel ID

Copy and paste the Pixel numbers into GrownBy's prompt on the Analytics settings page (do not include the "ID" prefix).

Meta Analytics Data

GrownBy sends several recommended Meta events in addition to the automatic events picked up by the Pixel (such as a PageView event):

  • Purchase — fires on a completed order, with farm_id included so you can segment Purchase conversions by farm in your Ads Manager.
  • AddToCart
  • CompleteRegistration — fires when a shopper signs up for an account.
  • Subscribe — fires on subscription/share purchases.

Any of these events can be used for ad conversion tracking in your Ads Manager.

GrownBy sends Meta data from both web and mobile via the browser-side fbq event API. Server-side Conversions API (CAPI) is not sent to farm-owned pixels — only browser fbq events fire to your Pixel.