Cookie Manager customization

Gold Contributor
Gold Contributor
Do you know if it is possible to change the text â Modify Privacy Optionsâ of the button that opens the window of the Cookie Manager? Do you also know if it is possible to leverage the code that the Privacy Manager uses to replicate the same effect but without using the visual element of the Privacy Manager?
3 REPLIES 3

Cookie Manager customization

Tealium Employee
Hi Javier, It is not possible to modify the content of the Privacy Button but with the use of some javaScript / jQuery it is possible to modify the contents in a separate JS extension. As an example: jQuery("input[value='Modify Privacy Options']").attr('value','test') This will find the button that has the value "Modify Privacy Options" and update the text to (in this case) "test". What parts of the Privacy Manager are you trying leverage? It is possible to leverage the vast majority of the Privacy Manager code. Some changes to the template will need to be made to prevent the loading of the UI. Please let me know if you have any further questions. Kind Regards Simon

Cookie Manager customization

Gold Contributor
Gold Contributor
Thanks Simon! Regarding to the leverage of the Privacy Manager, would it be possible for example, to activate and deactivate some tag without using the UI? Would it be too complicated to do this and to prevent the UI from loading? We don't need all the details, just the necessary to have an idea of the implications. Javier

Cookie Manager customization

Employee Emeritus
Hi Javier, Can you explain a little more about what your requirement for disabling the PM UI but preventing a tag from running is? the point of the Privacy Manager is to allow users to manage their privacy options. If you want to leverage the Privacy Manager features but present your own UI then you should reach out to your Account Manager to discuss the requirements and set up a working session. If you're trying to disable tags without user interaction then there are better options such as Load Rules or some customizations using a JavaScript extension.
Public