- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
01-24-2018 04:37 AM
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 ?
01-24-2018 09:24 PM
01-25-2018 04:09 PM - last edited on 01-29-2018 01:40 PM by kathleen_jo
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.
01-26-2018 01:46 PM
@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.
Copyright All Rights Reserved © 2008-2023