The Model Context Protocol (MCP) system at AdUp makes it easy to connect your Google Analytics data directly to your dashboard β enabling real-time tracking, deeper insights, and smoother performance analysis. By integrating Google Analytics via MCP, you unlock powerful metrics that support AI-powered optimization across your entire funnel. This manual walks you through the steps to connect your Google Analytics Data API to AdUp using MCP.
Step 1: Access the MCP Integration Dashboard
Log in to your AdUp Dashboard.
Go to:
Data Integration (MCP) > Explore MCP Servers
Step 2: Generate Google Analytics Credentials
Follow these instructions to create the necessary credentials via Google Cloud Console:
πΉ 1. Set up a Google Cloud Project
Go to Google Cloud Console
Click on "Choose a project" > "New Project"
Name your project, then click Create
πΉ 2. Enable the Google Analytics Data API
Navigate to API Library
Search for "Google Analytics Data API"
Click Enable
πΉ 3. Create and Configure a Service Account
Go to IAM & Admin > Service Accounts
Click "Create Service Account"
Give it a name, click Create and Continue
Assign the role: Viewer
Click Done
πΉ 4. Generate the Private Key (JSON)
Go to your service account > Keys tab
Click Add Key > Create new key
Choose JSON format, then click Create
This downloads your key file (save it securely!)
Step 3: Grant Access to Your GA4 Property
Open Google Analytics
Go to Admin
Under Property, click Property Access Management
Click + β Add User
Enter the Service Account Email from Google Cloud (e.g., gachat@your-project.iam.gserviceaccount.com)
Assign Viewer role
Click Add
β Also note your GA Property ID from Property Settings (e.g., 312345678)
Step 4: Connect to AdUp MCP
Go back to your AdUp Dashboard
Click on the Google Analytics box as shown below:
A popup will appear like this:
Enter the following fields:
Google Client Email β Paste your service account email
βGoogle Private Key β Paste from the JSON file (keep it safe)
βGA Property ID β From Google Analytics Admin
Toggle the Status switch ON
Click Update MCP β
Step 5: You're Connected!
Once the integration is successful, the GA card will show:
π’ Connected: Click to manage connection
You can now:
ποΈ Delete MCP
βπ Update Credentials
βπ¦ Toggle Tracking On/Off
π§ Tips & Reminders
Make sure your JSON key and property ID are always up-to-date
βYou can regenerate keys anytime from Google Cloud if needed
If stuck, contact support from us anytime or refer to Google Analytics Developer Docs