Logo

    Search

    What is Code Cube

    User management

    Notifications & alerts

    Tag Monitor

    DataLayer Guard

    Understanding & solving tracking errors

    Privacy & security

    FAQ

    Code-Cube.io documentation library
    Code-Cube.io documentation library
    🔔

    Slack integration

    This guide walks you through setting up Slack notifications for Code-Cube.io's Tag Monitor and DataLayer Guard to receive real-time alerts for errors and volume warnings directly in your Slack workspace.

    What will you do?

    • Access the configuration portal for your monitoring tool
    • Enable Slack notifications and configure workspace settings
    • Authenticate the Code-Cube.io app with your Slack workspace
    • Add the app to your desired Slack channel

    ⏰ Estimated time: 5 - 10 minutes

    🔧 Requirements: Access to Code-Cube.io portal, Slack workspace admin permissions, and an existing Slack channel

    Implementation

    • Step 1 – Access configuration page
    • Step 2 – Enable and configure Slack notifications
    • Step 3 – Authenticate with Slack
    • Step 4 – Add app to Slack channel

    Step 1 – Access configuration page

    Choose the appropriate configuration page based on which monitoring tool you want to set up Slack notifications for. You can configure Slack notifications for both Tag Monitor and DataLayer Guard by following these steps separately on each product's configuration page.

    For Tag Monitor

    • Go to the Tag Monitor configuration page
    • Navigate to the 'Slack notifications' step

    For DataLayer Guard

    • Go to the DataLayer Guard configuration page
    • Navigate to the 'Slack notifications' step
    image

    Step 2 – Enable and configure Slack notifications

    Set up your Slack workspace details and specify where notifications should be sent.

    2.1 Enable notifications

    Start by toggling the 'Enable notifications' switch at the top of the configuration page. This will activate Slack notifications and reveal the configuration fields needed to connect your workspace.

    image

    2.2 Configure workspace settings

    You'll need to provide two key pieces of information to connect Code-Cube.io with your Slack workspace. First, insert your workspace ID in the designated field - this should be your workspace URL (for example: codecubeio.slack.com).

    image

    Next, specify the name of the Slack channel where you want to receive notifications in the channel name field.

    image
    ☝🏼

    Important: Many users prefer to receive Slack notifications in a dedicated channel. If this is your preference, make sure to create this channel in your Slack environment before proceeding with the configuration.

    Step 3 – Authenticate with Slack

    Connect Code-Cube.io to your Slack workspace by completing the authentication process.

    3.1 Initiate authentication

    Click the authentication bar below the configuration fields to begin the process. This will redirect you to Slack where you'll need to log into your workspace if you're not already signed in.

    image

    3.2 Authorize the app

    You'll be prompted to authorize the Code-Cube.io app within your workspace. Review the permissions requested and click to grant authorization. This allows Code-Cube.io to send notifications to your specified channel.

    image

    3.3 Save the configuration

    After authentication you see the message ‘Authorization successful! Please close this page and go back save the form.’ in a white screen. Now navigate back to the configuration in the portal and make sure the save the changes.

    image
    ☝🏼

    Important: Without saving the changes, notifications can not be send to Slack!

    Step 4 – Add app to Slack channel

    Complete the setup by adding the Code-Cube.io app to your desired notification channel.

    4.1 Access channel settings

    Open your Slack workspace and navigate to the specific channel where you want to receive notifications. Click on the channel name at the top to access the channel settings and information.

    Navigate to the 'Integrations' tab within the channel settings and select 'Add apps'.

    image

    4.2 Add the app

    In the search bar, look for either 'Tag Error Monitoring' (for Tag Monitor) or 'DataLayer Guard' (for DataLayer Guard) depending on which product you're configuring. Once you find the appropriate app, select 'Add' to complete the integration.