How to do google tag manager integration in Commerce Cloud

google tag manager integration

If you’re running an e-commerce store, it’s important to track your website’s performance and user behavior. This is where Google Tag Manager (GTM) comes into play.

GTM is a free tool from Google that helps you track and manage various tags, scripts, and pixels on your website without having to touch the code. In this article, we’ll walk you through the steps on how to integrate GTM in your Commerce Cloud store.

Step-by-Step Guide to Integrating google tag manager integration in Commerce Cloud:

  1. Create a Google Tag Manager Account
    • If you don’t already have a GTM account, head over to the Google Tag Manager website and sign up for a free account.
  2. Install the GTM Container in Commerce Cloud
    • Once you have your GTM account set up, you’ll need to install the GTM container in your Commerce Cloud store. To do this, navigate to the “Site Configuration” tab in your Commerce Cloud account and select “System Management.”
    • From there, select “Third Party Scripts” and then click “Add.” In the “Script Source” field, enter the code provided by GTM and give your script a name.
  3. Set Up Google Analytics Tracking
    • One of the most common uses of GTM is to track website traffic and user behavior through Google Analytics. To set this up, navigate to your GTM account and create a new tag.
    • Select “Google Analytics” as the tag type and configure the tag to your desired settings.
    • Once your tag is set up, you’ll need to create a trigger to fire the tag. This can be done by selecting “Triggers” from the left-hand menu in your GTM account and creating a new trigger based on your desired conditions.
  4. Test and Publish Your GTM Container
    • Before you can start tracking data, you’ll need to test and publish your GTM container. To do this, select “Versions” from the left-hand menu in your GTM account and click “Publish” once you’re ready to go live.

Tips for Successful google tag manager integration:

  • Set clear goals and KPIs for your tracking efforts to ensure you’re measuring the right data.
  • Use descriptive names for your tags, triggers, and variables to make it easier to manage your GTM account.
  • Regularly review your tracking data to identify areas for improvement and optimization.
  • Be mindful of data privacy laws and ensure that you have proper consent from your website visitors before collecting their data.


Integrating Google Tag Manager in your Commerce Cloud store is a great way to track and manage your website’s tags and scripts without having to modify the code.

By following the steps outlined in this article, you can set up GTM and start tracking your website’s performance and user behavior in no time.

Follow Us on

Read More

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *