Actions84
- Admin (V1Alpha) - Account Actions
- Admin (V1Alpha) - Account Access Binding Actions
- Admin (V1Alpha) - Account Summary Actions
- Admin (V1Alpha) - AdSense Link Actions
- Admin (V1Alpha) - Audience Actions
- Admin (V1Alpha) - BigQuery Link Actions
- Admin (V1Alpha) - Calculated Metric Actions
- Admin (V1Alpha) - Channel Group Actions
- Admin (V1Alpha) - Custom Dimension Actions
- Admin (V1Alpha) - Custom Metric Actions
- Admin (V1Alpha) - Data Stream Actions
- Admin (V1Alpha) - Display & Video 360 Advertiser Link Actions
- Admin (V1Alpha) - Display & Video 360 Advertiser Link Proposal Actions
- Approve Display & Video 360 Advertiser Link Proposal
- Cancel Display & Video 360 Advertiser Link Proposal
- Create Display & Video 360 Advertiser Link Proposal
- Delete Display & Video 360 Advertiser Link Proposal
- Get Display & Video 360 Advertiser Link Proposal
- List Display & Video 360 Advertiser Link Proposals
- Admin (V1Alpha) - Event Create Rule Actions
- Admin (V1Alpha) - Event Edit Rule Actions
Overview
This node integrates with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for managing Event Create Rules within a data stream. The "Create Event Create Rule" operation allows users to create new event creation rules associated with a specific property and data stream in Google Analytics.
This node is beneficial when automating the management of event tracking rules in Google Analytics, enabling dynamic creation of event rules based on workflow logic. For example, it can be used to programmatically add new event creation rules to track custom user interactions or conversions without manual configuration in the Google Analytics UI.
Properties
Name | Meaning |
---|---|
Property ID | The identifier of the Google Analytics property where the event create rule will be created. |
Data Stream ID | The identifier of the data stream within the property where the event create rule applies. |
Query Parameters | Optional additional parameters for the API request (not typically required for creation). |
Request Body | JSON object containing the details of the event create rule to be created. This includes all necessary fields defining the rule's behavior and conditions. |
Output
The node outputs a JSON array where each element corresponds to the response from the Google Analytics API after creating an event create rule. The JSON structure reflects the created event create rule resource as returned by the API, including its unique identifiers and configured properties.
No binary data output is involved.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- The node uses the Google Analytics Admin API v1alpha endpoint:
https://analyticsadmin.googleapis.com/v1alpha
. - Proper permissions are needed on the Google Analytics account to create event create rules.
Troubleshooting
- Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that OAuth2 credentials for Google Analytics are properly set up and connected.
- Required Parameter Errors: Errors like "Property ID is required" or "Data Stream ID is required" indicate missing mandatory inputs. Verify that these IDs are provided.
- API Call Failures: Errors returned from the Google Analytics API may include permission issues or invalid request body formats. Check the request body JSON for correctness and confirm API access rights.
- Invalid Operation or Resource: Ensure the selected resource is "Admin (V1Alpha) - Event Create Rule" and operation is "Create Event Create Rule" to match this node's intended use.
Links and References
This summary focuses on the "Admin (V1Alpha) - Event Create Rule" resource and the "Create Event Create Rule" operation as requested.