Advanced Tutorials
Adding custom logics
2min
in addition to the configurations available in the configurator and those explained in the documentation, there is the possibility of developing customized logic and interfacing with our cmp in different ways to develop custom logic we would like to tell you not to rely on the html structure of the pubconsent panel and not to use css selectors that refer to the classes used in the pubconsent panel user actions that trigger accept everything some publishers need to recreate behaviors such as accept all on scroll to give publishers the opportunity to develop the functionality just described, pubconsent specifies an html identifier for the "accept all" button accept all with the pt accept all identifier it will be possible to trigger the click event through custom functions on your website other custom logic can be developed for the cookie wall mode docid\ vda emgbbqjzyx9og2duv and the popup wall mode docid\ igl3b2nxtzy3lcjf cs s such as implementing an accept all button if you want to develop a page on your website that manages mandatory subscription or accepts all