Log in to your Wix account and go to settings in your site's dashboard.
Click the Custom Code tab in the Advanced section as shown above.
Click + Add Custom Code at the top right.
Then paste the consent pop-up script in the code field:
Paste the code snippet in the text box.
Enter a name for your code.
Select an option under Add Code to Pages: All pages. This adds the code to all of your site's pages, including any new page that you create in the future.
Choose where to place your code under Place Code in: Head
Repeat the steps described in the first part of this article.