Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions84

Overview

This node integrates with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for managing Channel Groups. The "Delete Channel Group" operation allows users to delete a specific channel group within a Google Analytics property. This is useful for administrators who want to remove obsolete or incorrect channel group configurations from their analytics properties.

Common scenarios include:

  • Cleaning up unused or deprecated channel groups in a property.
  • Automating the management of channel groups as part of a larger analytics configuration workflow.
  • Ensuring that only relevant channel groups are active for accurate reporting.

Example: An analytics admin wants to delete a channel group identified by its ID from a specific property to prevent it from affecting traffic source categorization.

Properties

Name Meaning
Property ID The unique identifier of the Google Analytics property where the channel group exists.
Channel Group ID The unique identifier of the channel group to be deleted within the specified property.
Query Parameters Optional additional parameters for the request, such as filters or pagination controls.

Output

The output is a JSON array containing the response from the Google Analytics API after attempting to delete the specified channel group. Typically, this will confirm the deletion or provide details if the operation failed.

No binary data is output by this node.

Dependencies

  • Requires an OAuth2 API credential configured for Google Analytics API access.
  • The node uses the Google Analytics Admin API v1alpha endpoint (https://analyticsadmin.googleapis.com/v1alpha).
  • Proper permissions on the Google Analytics account and property are necessary to perform deletions.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that the OAuth2 credentials for Google Analytics are properly set up and connected.
  • Required Parameter Errors: Errors like "Property ID is required" or "Channel Group ID is required" indicate missing mandatory inputs. Verify that these IDs are correctly provided.
  • API Permission Errors: If the API returns permission denied errors, check that the authenticated user has sufficient rights to delete channel groups in the target property.
  • Invalid ID Errors: Providing incorrect or non-existent Property ID or Channel Group ID will cause API errors. Double-check the IDs before running the node.

Links and References

Discussion