Actions108
- Activity Log Actions
- Consent Analysis Actions
- Cookie Scanner Actions
- Data Cleansing Actions
- Destination Actions
- Event Delivery Actions
- Event Enrichment Actions
- Live Report Builder Actions
- Mix Collect Redirect Rule Actions
- Monitoring Actions
- Normalized Datalayer Actions
- Segment Actions
- Source Actions
- Sources Data Quality Actions
- User Actions
- Web Container Actions
- Create Web Constraint
- Create Web Container
- Create Web Perimeter
- Create Web Tag
- Create Web Trigger
- Delete Web Constraint
- Delete Web Container
- Delete Web Perimeter
- Delete Web Tag
- Delete Web Trigger
- Get Web Constraint
- Get Web Perimeter
- Get Web Tag
- Get Web Trigger
- List Web Constraints
- List Web Containers
- List Web Perimeters
- List Web Tags
- List Web Triggers
- Revert Web Tag
- Update Web Constraint
- Update Web Container
- Update Web Perimeter
- Update Web Tag
- Update Web Trigger
- Web Containers Variable Actions
- Create Web Datalayer Variables
- Create Web Datalayer Variables Category
- Create Web Internal Variables
- Delete Web Datalayer Variables
- Delete Web Datalayer Variables Category
- Delete Web Internal Variables
- Get Web Datalayer Variables
- Get Web Internal Variables
- List Web Datalayer Variables
- List Web Internal Variables
- Workspace Actions
Overview
This node integrates with the Commanders Act API, specifically allowing management of various resources within the platform. The "Delete Web Tag" operation under the "Web Container" resource enables users to delete a specific web tag by its ID. This is useful for scenarios where obsolete or incorrect tags need to be removed from a web container setup to maintain accurate tracking and data collection.
Practical examples include:
- Removing deprecated marketing or analytics tags from a website.
- Cleaning up test or temporary tags that are no longer needed.
- Managing tag lifecycle programmatically as part of automated workflows.
Properties
| Name | Meaning |
|---|---|
| Tag ID | The unique identifier of the web tag to delete. This is required to specify which tag to remove. |
| Query Parameters | Optional additional parameters to customize the request. Includes options like date filters, sorting, pagination, and token authentication. |
The "Query Parameters" collection supports multiple optional fields such as:
end,start: Date/time boundaries for filtering.filterand nested filter options: JSON or string filters for refined queries.granularity,include,page,sort: Control data granularity, included fields, pagination, and sorting.token: An optional password-type field for additional authentication if needed.
Output
The node outputs the response from the Commanders Act API after attempting to delete the specified web tag. The output is a JSON array where each element corresponds to the API response for an input item.
- If the API returns JSON data, it is parsed and returned as JSON.
- If the API returns a plain text response, it is returned as text.
- If there is no content (HTTP 204), the output will indicate
"Status Code": "204 No Content".
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Commanders Act API.
- The node uses the base URL
https://api.commander1.com/v2. - Proper configuration of the API credentials in n8n is necessary before use.
Troubleshooting
- Missing Tag ID: The node throws an error if the Tag ID is not provided when performing the delete operation. Ensure the Tag ID parameter is set.
- API Credential Issues: If the API credentials are missing or invalid, the node will throw an error indicating missing credentials.
- API Errors: Any errors returned by the Commanders Act API are wrapped and rethrown with descriptive messages. Check the error message and stack trace for details.
- Invalid Query Parameters: Providing malformed JSON or unsupported query parameters may cause API errors. Validate inputs carefully.
- Network Issues: Connectivity problems to the Commanders Act API endpoint will result in request failures.
Links and References
- Commanders Act API Documentation (general reference for API endpoints and usage)
- n8n documentation on Creating Custom Nodes (for understanding node development and configuration)