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
In Data Activation, go to Tags → Publishing.
In the table of unpublished tags, select the tags you want to publish.
Give the deployment a description, such as "Header personalization experiment," so you can tell later which rollout contained which tags.
Select the environments to publish in: pre-production or production
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:
Go to the website you're setting the tags for.
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 thejavascript:_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.In the Override environment dropdown, select the environment you want to load, such as Unpublished.
Refresh the page to load that environment.