how to change environment without web companion (cookies doesn't work)

Bronze Contributor
Bronze Contributor

Currently webcompanion is dissabled to my site,.

While I get to add tealium as whitelabel in the CORS policy, I would like how to change the environment to test some pixels I've added.

I've tried using environment cookie, but it doesn't work to test the tags I've added.

Any help here?

Marlene Aguilar
4 REPLIES 4

how to change environment without web companion (cookies doesn't work)

Employee Emeritus

Hi @Marlene,

Thanks for your patience as we are in the process of fixing the Web Companion. Here is an article that will show you how to switch environments without the use of the Web Companion. Let me know if you need anything else!

https://community.tealiumiq.com/t5/iQ-Tag-Management/Methods-to-Switch-Publish-Environment/ta-p/2358...

Kristen Meren
TLC Community Manager

how to change environment without web companion (cookies doesn't work)

Tealium Expert
Tealium Expert

As per @KristenMeren post, the environment switcher tool is fantastic. 

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -

how to change environment without web companion (cookies doesn't work)

Bronze Contributor
Bronze Contributor

Thank you Kristen, but It doesn't work for me,  I've tried the environment cookie, but it doesn't work to test the pixels I need to test.

Isn't there any other way to change the environment available?

Cheers,

Marlene

 

Marlene Aguilar

how to change environment without web companion (cookies doesn't work)

Gold Contributor
Gold Contributor

Hi Marlene

If you only need to test specific pixels, where the uuid is known.  You can acheive this in the console.

1.  Override the environment

- utag_data["tealium_environment"] = "dev" // or whatever matches your requirement

2. Manually trigger the tag by uuid

- utag.view(utag_data, null, ['uuid']); // where uuid matches the value of the utag.uuid.js that contains the tag.

3. Set back your environment when finished

As a side note, consider that this will not pull in changes for extensions that are not scoped to the tag.

Cheers

Kevin

Kevin Allen SAS-DCX-UXD
User Experience & Data Analytics
DevOps Engineer III
kevin.allen@swisscom.com
Swisscom (Schweiz) AG
www.swisscom.ch
Public