---
title: "How to publish tags"
slug: "how-to-publish-tags"
description: "Publish and test your tags safely in the Unpublished environment before rolling them out to visitors. Learn how to manage tag changes effectively."
updated: 2026-06-25T06:43:17Z
published: 2026-06-25T06:43:17Z
canonical: "docs.supermetrics.com/how-to-publish-tags"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supermetrics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to publish tags

Changes you make to a tag aren't live on your site until you publish them. Publishing lets you test changes safely first, then roll them out to your visitors when you're ready, and roll them back if something isn't right.

When you create or change a tag, it starts in the Unpublished environment, where you can test it without affecting visitors. To make your changes live, you publish them to the pre-production (test environment) or to production.

## Instructions

### Publish your tags

1. In Data Activation, go to **Tags** → **Publishing**.
2. In the table of unpublished tags, select the tags you want to publish.
3. Give the deployment a description, such as "Header personalization experiment," so you can tell later which rollout contained which tags.
4. Select the environments to publish in: pre-production or production
5. Click **Publish and Deploy**. Confirm the publication.

To undo a change, use the history slider on the right to roll back to an earlier version, or to push a specific version to testing or production.

### Preview unpublished changes on your site

Tags you've created or changed but not published appear only in the Unpublished environment, which updates on its own without any publishing.

To see the unpublished changes:

1. Go to the website you're setting the tags for.
2. To open the **Tag status** window, open the Developer tools in your web browser, go to Console, and paste `_st.debug.enable();` to the Console. Note that you need to be logged in to the Data Activation platform to see the tag status details. Alternatively, you can open the **Tag status** window through a browser bookmark: Save the `javascript:_st.debug.enable();` code as a browser bookmark and open that bookmark when you’re on the website you’ve set up the tags for.
3. In the **Override environment** dropdown, select the environment you want to load, such as Unpublished.
4. Refresh the page to load that environment.

## More resources

- [How to create and manage tags](/v1/docs/how-to-create-and-manage-tags)
- [How to use tag targeting rules](/v1/docs/how-to-use-tag-targeting-rules)
- [How to view tag status window](/v1/docs/how-to-view-tag-status-window)
