restrict users from giving PROD in Target Location if a Tag is new

Bronze Contributor
Bronze Contributor

Hi Team,

Can you help us for the below requirement in tealium.

Question :

Is there any ways from tealium to restrict the users from giving PROD in target locations if a tag is new ?

 

Background :

By default all the new tags will be having target locations selected as dev,qa and prod.

If the new tag is set to PROD as target location , there might be a possibility of such tags reaches to prod without verification in the dev/qa with the latest versions . 

As of now we are doing it manually like while reviewing the tags if the tag is new then we will be checking the tag target locations , if it’s pointed to PROD then we would be sending an email to the requestor to change the locations  only to dev/qa. By doing so, we are making sure the tag should ot go to prod without review.

Could you please share your thoughts on this ?

 

3 REPLIES 3

restrict users from giving PROD in Target Location if a Tag is new

Gold Contributor
Gold Contributor
Hello @v-ynaik,

I would suggest you to review the below link which Tealium elucidated on detailed.
https://community.tealiumiq.com/t5/iQ-Tag-Management/Tags/ta-p/5016#toc-hId-907507063

Also, I believe we need to do manually to switch off targeted location based on requirements instead of sending an email to requestor to make the changes.

Nevertheless, If you have any more doubt on the above answer you can contact @Kathy Tealium Community Manager for further clarifications.

Happy Learning!! Hope it helps!!!

restrict users from giving PROD in Target Location if a Tag is new

Tealium Expert
Tealium Expert

A slightly hacky workaround, @v-ynaik, that would do the trick would be to create an After Load Rules extension that disables any tag whose ID doesn't match a pre-approved list.

Something along the following lines should work:

 

if(b.tealium_environment == "prod"){

var whitelist = { "1": true // Tag ID 1 is the only one on the whitelist }; for(var tagid in utag.send){ if(!whitelist[tagid] && utag.send[tagid].send){ utag.send[tagid].send = 0; utag.DB("Disabled tag " + tagid + " - not found on whitelist"); } }
}

 

This extension would then allow you to explicitly define a list of tags that are eligible for use in the prod environment, preventing any others from being sent.

restrict users from giving PROD in Target Location if a Tag is new

Community Manager
Community Manager

@v-ynaik This sounds like a good request to make in the Product Ideas forum. This could be a profile-level setting that would force all new tags to have Prod toggled off.

new-tags-prod-off.png

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.
Public