MESA Docs
MESA Homepage
  • Welcome to MESA
    • Installing MESA
    • Dashboard
    • Core Concepts
    • Getting Help
  • Templates
    • Template Library
    • Installing & Editing
  • Workflow Builder
    • Triggers
    • Actions
    • Fields
      • Variables
      • Formatting Variables
      • Liquid Templating
    • Testing
  • Workflow Activity
    • Tasks
      • Troubleshooting
      • Replay
    • Logs
    • Time Travel
  • Best Practices
    • Set Titles & Descriptions
    • Track Time Saved
    • Enable Failure Notifications
    • Avoid Infinite Loops
  • Going Further
    • Plans & Billing
    • Notifications
    • Credentials
    • Understanding the Queue
    • Export & Import Workflows
    • Platform Thresholds & Limits
  • Built-in Tools
    • Activity Log
    • AI
    • API
    • Approval
    • MCP
    • Custom Code
      • Libraries
        • MESA SDK
        • Filter
        • Loop
        • Transform
        • oAuth
        • Shopify
        • ShopifyGraphql
      • FAQ
    • Data
    • Delay
    • Email
    • Filter
    • Form
      • Configure
      • Going Further
      • Technical Notes
    • FTP
    • Image
    • Loop
    • Package Tracking
    • Paths
    • Schedule
    • Scraper
    • SMS
    • Transform
    • Virtual Output
    • Weather
    • Web Request
    • Webhook
  • Apps
    • Airtable
    • Amazon S3
    • Asana
    • Blog Studio
    • ChannelApe
    • Claude
    • ChatGPT
    • Dall-E 2
    • Delighted
    • Digital Humani
    • Discord
    • DocuSign
    • Dropbox
    • Etsy
    • Facebook
    • Fera.ai
    • Gatsby
    • Gmail
      • Send Email
    • Google Analytics 4
    • Google Analytics UA
    • Google Calendar
    • Google Drive
    • Google Forms
    • Google Sheets
      • Add Row
      • Query Rows
      • Update Row
      • Row Created
      • Row Updated (Advanced)
      • Creating New Spreadsheets
      • Technical Notes
    • Gorgias
    • Govalo
    • Help Scout
    • Hubspot
    • Infinite Options
    • Intercom
    • IPDetective
    • Judge.me
    • Katana
    • Klaviyo
      • API Deprecation
    • Loop Returns
    • Loyalty Lion
    • Mailchimp
    • Mailgun
    • Mandrill
    • Mantle
    • Notion
    • Odoo
    • Omnisend
    • Page Studio
    • Pinterest
    • Printful
    • PrintNode
    • QuickBooks
    • Rebuy
    • Recharge
    • Remove.bg
    • Returnly
    • Rivo
    • Salesforce
    • Segment
    • Sendlane
    • Shippo
    • ShipStation
    • Shopify
      • Technical Notes
        • Configuring Your Payload
        • Modifying and Filtering Get Lists
        • Parameters
        • Error Codes
        • Accuracy of orders_count Variable
        • Accuracy of Count Products Action
        • Using the Gift Cards API
        • How to Find a Specific Record in the Testing Interface
        • Order, Customer, and Product Updated Trigger Frequency
    • Shopify Flow
    • Shopify Plus
    • Shopify Retail POS
    • Skio Subscriptions
    • Slack
    • Smartrr
    • Smile.io
    • Square
      • Updating Inventory
      • Frequently Asked Questions
    • Stamped.io
    • Stripe
    • Thanks.io
    • TikTok
    • Tracktor
    • Twilio
    • Uploadery
    • Wonderment
    • Xero
    • Yotpo
    • Yotpo Loyalty
  • For developers
    • Admin API
    • Command Line Interface
    • Embedding templates
  • Frequently asked questions
    • Why isn't the log search returning logs with the search I entered?
    • Is it possible to handle errors or retry steps?
    • How do I handle a failed task?
    • Does MESA auto-save workflows?
    • Can I Use Apps That Don't Have a MESA Connector?
    • Why is my workflow action adding the same data each time it occurs?
    • How do I cancel automations that are already in progress?
    • How do I cancel my MESA subscription or 7-day trial?
    • Can you import code from npm in custom code?
    • Do you have a Slack Community?
Powered by GitBook
On this page
  • Authentication
  • Configure

Was this helpful?

  1. Apps

Google Analytics 4

PreviousSend EmailNextGoogle Analytics UA

Last updated 1 month ago

Was this helpful?

Authentication

When you're setting up your first workflow with Google Analytics 4, you'll need to add your Google Analytics Measurement ID and API Secret so that Google Analytics 4 is a connected app within MESA.

2. Click on Admin from the left-hand sidebar.

3. Ensure that you have the correct Account selected under Account.

4. Ensure that you have the correct Property selected under Property.

5. Under Data collection and modification, select Data Streams.

6. Click on your preferred Data Stream. If you don't already have one, add a new stream.

7. Locate where it says Measurement ID in the Stream details section. Click on the copy icon.

8. Paste the copied values into your MESA's GA4 Credential Key field.

9. Next, scroll down on the same page until you see Events - Measurement Protocol API secrets. Click on it.

10. Click on the copy icon next to your preferred API secret. If you do not have one already, please create one.

11. Paste the copied values into your MESA's GA4 Credential Secret field.

12. Click Add Credential and you are all set! You can now re-use the newly created credential and select it for your future workflows!

Configure

Locate your Ecommerce events sent from MESA in Google Analytics

1. In your Google Analytics account, click on Reports, then Monetization, and then Ecommerce purchases in the left sidebar.

2. You will be taken to the Ecommerce purchases report page where you can view different ecommerce events.

Read the following to locate those 2 values. These next steps assume that you already have a Google Analytics 4 property. If you do not have one already, .

1. Sign in to your .

🗒 Important Note: After your workflow triggers, it will take up to 24-48 hours to see data appear in the due to Google Analytics' processing times. You can use the to confirm that you're collecting data from your website or app successfully.

🗒 Note: If you are not seeing the data from today, please adjust the view dates of your Ecommerce purchases report to include today's date by clicking on the

please create one
Google Analytics Account
Ecommerce purchase report
Realtime report
date range selector.