Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - Firebase Link → Create Firebase Link

AI-generated

Overview

This node integrates with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for Firebase Links. The "Create Firebase Link" operation allows users to create a link between a Google Analytics property and a Firebase project. This is useful for organizations that want to connect their analytics data with Firebase services to enable enhanced app measurement and integration.

Common scenarios include:

  • Linking a new Firebase project to an existing Google Analytics property to unify app and web analytics.
  • Automating the setup of Firebase links as part of a larger analytics or app deployment workflow.

Example use case:

  • A marketing team wants to automatically create Firebase links for multiple properties in bulk using n8n workflows, enabling consistent tracking across platforms.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property where the Firebase link will be created.
Query Parameters Optional parameters to customize the request; includes options like filter, page size, etc.
Request Body JSON object containing the details of the Firebase link to create.

Details on Properties:

  • Property ID: Required string specifying the target property.
  • Query Parameters: A collection of optional parameters such as filter, pageSize, pageToken, etc., which can modify the API request behavior.
  • Request Body: JSON input defining the Firebase link's attributes according to the Google Analytics API specification.

Output

The node outputs a JSON array where each element corresponds to the response from the Google Analytics API for the create Firebase link request. The JSON structure matches the API's response schema for a Firebase link resource, typically including fields such as the link's name, project details, and creation metadata.

No binary data output is involved.

Dependencies

  • Requires valid Google Analytics API OAuth2 credentials configured in n8n.
  • Uses the Google Analytics Admin API endpoint https://analyticsadmin.googleapis.com/v1alpha.
  • The node expects the user to provide necessary authentication tokens via OAuth2.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that OAuth2 credentials are properly set up and connected.
  • Required Parameter Errors: Errors like "Property ID is required" indicate missing mandatory inputs. Verify all required fields are filled.
  • API Call Failures: Errors returned from the Google Analytics API will be wrapped and shown with messages like "Error calling Google Analytics API." Check the API quota, permissions, and correctness of the request body.
  • Invalid JSON in Request Body: Ensure the JSON provided in the Request Body field is well-formed and matches the expected schema.

Links and References


This summary is based solely on static analysis of the provided source code and property definitions without runtime execution.

Discussion