![]() Choose your “Close the cookie popup” custom animation.Select the “Decline” button on the canvas.Then, create a similar interaction to hide the cookie consent banner when a site visitor declines Pixel cookies: Click the “ plus” icon next to Actions to add an action to your animation.Give your custom animation a name (e.g., “Close the cookie popup”).Click the “ plus” icon to create a custom animation. ![]() Go to On 1st click and click Select an action.Click the “ plus” icon to create a new element trigger.Go to Interactions panel > Element trigger.Select the “Accept Pixel cookies” button on the canvas.Add the component to all of your site pagesįirst, create an interaction that hides the cookie consent banner when a site visitor accepts Pixel cookies:.Choose a preset position or manually adjust the position of the popup wrapper.Set the popup wrapper’s position to fixed.Give the div block a class (e.g., popupWrapper).Drag the banner inside of a div block to serve as your popup wrapper.(Optional) Include a “Learn more” link to link site visitors to your privacy policy page.Give your button the same class as the “Accept” button.Add a “Decline Pixel cookies” or “Close” button.Give your button an ID (e.g., consentBtn).Give your banner an ID (e.g., consentPopup). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |