If your apps are configured to use GA4, they will send Profile_Id identifier with each event to Google Analytics. This profile ID is created by Apps Creator and is linked to the user in Zype CRM and any External User Database that you are using with Apps Creator.
You can use our Profile ID API endpoint to fetch user info using the profile Ids you see in Google Analytics.
Prerequisites
Profile ID
You can find the Profile IDs in GA Dashboard. Learn more here.
Workspace API Key
You can find you API key from your Apps Creator Dashboard.
Navigate to App Creator Dashboard >> Settings >> Workspace Settings to find your API Key.
API Endpoint
Endpoint URL: https://api.maz.tv/admin/profiles/{PROFILE ID}?api_key={API KEY}
Request Type: GET
Headers: Content-Type: application/json | Accept: application/json
Sample CURL request:
curl --request GET \
--url 'https://api.maz.tv/admin/profiles/{PROFILE ID}?api_key={API KEY}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
Successful Response
Status Code: 200
Sample Data:
{
"identifier": "875487",
"name": "Home",
"app_user": {
"identifier": "487515",
"email": "example@gmail.com",
"member_id": "998548",
"consumer": {
"identifier": "525903",
"member_id": "65991cb61843a800178c8506",
"parental_access_code": null,
"parental_access_rating": null
}
}
}
appuser:member_id -> Unique ID of the user in your External Database.
appuser:consumer:member_id -> Unique ID of the user in Zype CRM.
Profile Not Found
Status Code: 404
Data:
{
"error": "Profile not found"
}
Was this article helpful?
Articles in this section
- GA4 Explorations
- Profile ID API Endpoint
- Introduction to GA4
- Enabling GA4 for your Apps
- Create a Firebase Account
- Register your iOS app on Firebase
- Register your Android Apps on Firebase
- Registering your Apple TV, Roku, CTV and Web App on Firebase
- How to Add Custom Definitions in your GA4 Property
- All app data tracked in Google Analytics 4