Google Analytics 4 Integration & Rules

Last updated 05/03/2022

The Google Analytics 4 (GA4) integration & rules allow you to create a conversion event in Google Analytics. A few real-world examples are:

  • when Bread & Butter identifies a user conversion on your website, a specific conversion event is created in Google Analytics
  • when you make an action corresponding to a conversion, a different specific conversion event is created in Google Analytics.

Integration:

To set up your GA4 integration, you will need your Measurement ID, which you can get by following these steps provided by Google:

To create your GA Integration in Bread & Butter, follow these steps:

  1. Log in to your Bread & Butter Dashboard at: https://app.breadbutter.io

  2. Click Logic on the left side menu.


  1. Scroll down to the Integrations section, and click Create New.


  1. In the dialog, select Google Analytics.

  2. Choose a descriptive name for the Integration (note: this can be anything, and you can change the name later).

  3. Enter the Measurement ID you created in the above steps in Google Analytics.


  1. Click Save & close.

Rules:

To set up a Rule that uses your GA4 integration, you’ll first need to set up your Conversion Event(s):

https://support.google.com/analytics/answer/9267568?hl=en#zippy=%2Cin-this-article

To set up a Rule in Bread & Butter, please follow these steps:

  1. Log in to your Bread & Butter Dashboard at: https://app.breadbutter.io

  2. Click on Logic in the left menu.

  1. Scroll down to the Rules section, and click Create New.


  1. Choose the Google Analytics Integration that this Rule will use.

  2. Then, choose the API Event or System Event that will trigger this Rule.

  3. Give the rule a name so you can identify it in the Rules list.

  4. Add the Conversion Event that you created in Google Analytics.


  1. Click Save & close.

Your rule is now set up and ready to go. Whenever a user triggers the API event via your website, the Rule will be triggered.