Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Web Container → Create Web Tag

AI-generated

Overview

This node interacts with the Commanders Act API to create a new web tag within the Web Container resource. It is useful for users who want to programmatically manage web tags in their Commanders Act account, such as adding tracking or marketing tags to their web containers. For example, a user can automate the creation of web tags as part of their web analytics or marketing automation workflows.

Use Case Examples

  1. Creating a new web tag in a specified web container to track user interactions.
  2. Automating the deployment of multiple web tags across different web containers for marketing campaigns.

Properties

Name Meaning
Query Parameters Optional query parameters to customize the API request, such as filtering, pagination, or sorting options.
Request Body JSON object containing the details of the web tag to be created, such as tag name, configuration, and other relevant properties.

Output

JSON

  • id - The unique identifier of the created web tag.
  • name - The name of the created web tag.
  • status - The status of the created web tag.
  • createdAt - The creation timestamp of the web tag.
  • updatedAt - The last update timestamp of the web tag.

Dependencies

  • Commanders Act API with API token credentials

Troubleshooting

  • Missing or invalid API credentials will cause authentication errors. Ensure the API token is correctly set.
  • Required parameters such as the web container ID or request body must be provided; otherwise, the node will throw errors indicating missing parameters.
  • API request failures may occur due to network issues or invalid query parameters; verify the parameters and network connectivity.
  • Error messages from the API are wrapped and presented as NodeApiError with details; check the error message and stack trace for troubleshooting.

Links

Discussion