Change my cookies choice (footer link)
Setting an option for the store visitors to change their cookies choice is a recommendation by the customer privacy laws. here are the option you have for setting this either as a link or a button in one of the pages of the store.
If you decide to set this in the footer of the store, please follow the steps below:
Go to the Content tab of the Store admin
Select Menus section
Select the Footer menu where you want to place the link
Create the element with the Add menu item option
The HTML below needs to be added in the Label part, and for the Link part, you can select the Home Page
You can also check a video reference on how this can be done below:
If you decide to set the option as a button in one of the store pages, please follow the steps below:
Go to Online store > Pages
Seclect the page where you want to place the button
Set the Show HTML option for the page
Set the below HTML in the place where you want to have the button in the page
In the code for the Button option you can change the colors and the rounding or the corners as per your preferences so it can match the styling of your store.
You can also check a reference on how this can be done below:
Note: The code will not work if you try to add it to a Legal page ( Settings > Policies ), due to limitations from Shopify, which are not allowing the Javascript code to run properly.
You can find other options that you can use in order to provide the users wit the freedom of changing their cookies selection
”How to add a Cookie Bar Widget to the bottom of the page?”
"Is there a way to Re-Open the Cookie bar to change my choice?"
For direct support, you can reach out via the live chat or by sending an email to our support team at support@consentmo.com
Link option:
If you decide to set this in the footer of the store, please follow the steps below:
Go to the Content tab of the Store admin
Select Menus section
Select the Footer menu where you want to place the link
Create the element with the Add menu item option
The HTML below needs to be added in the Label part, and for the Link part, you can select the Home Page
<a onclick="showPreferences(this);" class="isense-reopen-widget-link" role="button" tabindex="0" aria-haspopup="dialog"
style="cursor: pointer;"> Cookie Preferences</a>
You can also check a video reference on how this can be done below:
Button option:
If you decide to set the option as a button in one of the store pages, please follow the steps below:
Go to Online store > Pages
Seclect the page where you want to place the button
Set the Show HTML option for the page
Set the below HTML in the place where you want to have the button in the page
<button class="btn btn--secondary isense-reopen-widget-button" onclick="showPreferences(this);event.preventDefault();" aria-haspopup="dialog"
style="cursor: pointer;
color: black;
border-radius:3px;
background-color: white;
border-color:black;">Cookie Preferences</button>
In the code for the Button option you can change the colors and the rounding or the corners as per your preferences so it can match the styling of your store.
You can also check a reference on how this can be done below:
Note: The code will not work if you try to add it to a Legal page ( Settings > Policies ), due to limitations from Shopify, which are not allowing the Javascript code to run properly.
Other options for Consent change
You can find other options that you can use in order to provide the users wit the freedom of changing their cookies selection
”How to add a Cookie Bar Widget to the bottom of the page?”
"Is there a way to Re-Open the Cookie bar to change my choice?"
Need help?
For direct support, you can reach out via the live chat or by sending an email to our support team at support@consentmo.com
Updated on: 10/12/2024
Thank you!