Cookies & the cookie consent widget
ShopWired's cookie consent widget enables you to add a cookie consent popup notification to your website to allow visitors to grant your website permission to place on their browser.
When you enable the cookie consent widget, the visitor will have to specifically grant permission to accept cookies from your website. The widget is available in two different designs, either a banner (shown at the bottom of the website) or a popup window (shown in the middle of the website).
The visitor will have three separate options:
- Select "Accept" to accept all cookies on your website
- Select "Decline" to decline all cookies on your website
- Select "Manage" to select which cookies to accept
Once the visitor has made their selection, a Cookie Access icon will remain on your website so that the visitor can change their preferences at any time.
How the cookie consent widget works
How the cookie consent widget works
When the cookie consent widget is enabled, it controls when and how cookies are set on your website to comply with UK and EU cookie laws.
When a visitor first lands on your website:
- Display – The widget appears in the style you’ve configured (banner at the bottom of the page or centred popup)
- Blocking behaviour – No non-essential cookies (personalisation, marketing, analytics) are set until the visitor has made a choice. Only required cookies are allowed by default
- Visitor options – The visitor can:
- Accept all – Immediately allow all categories of cookies
- Decline all – Block all non-essential cookies and allow only required cookies
- Manage – Open the preferences popup to make a category-by-category selection
Preferences popup
If the visitor clicks Manage, the preferences popup displays four cookie categories:
- Required – Always enabled, cannot be turned off
- Personalisation – Allows features like saved preferences, recently viewed products, and live chat
- Marketing – Allows cookies used for targeted advertising and marketing campaigns
- Analytics – Allows cookies that measure website usage and performance
By default, none of the optional categories are pre-selected. The visitor must actively tick the ones they want to allow and click Save my choices to apply them. Selecting Accept all or Decline all in this popup works the same way as the banner buttons.
After consent is given
- The banner or popup is replaced with a cookie access icon, positioned in the bottom left or right corner depending on your settings
- This icon is always visible after the visitor has made a choice, allowing them to reopen the preferences popup at any time and change their selection
- When preferences are changed, the new settings are applied immediately
Script control
The widget prevents non-essential cookies and scripts from running until the visitor has given the required consent. If you use tracking scripts in your theme or through ShopWired’s script settings, these are automatically controlled based on the visitor’s preferences.
Configuring the cookie consent widget
Configuring the cookie consent widget
To enable the widget and configure its settings, navigate to Website settings > Cookie widget.
Cookie banner
In the Cookie banner section select your settings for the following options:
Cookie banner style
- Select
banner
to display a cookie banner along the bottom of your website - Select
popup
to display a popup in the middle of your website
Cookie banner colours
Use this setting to determine the colours for the cookie banner/popup:
- Select
light
to display the banner with light colours (a white background and black text) - Select
dark
to display the banner with dark colours (a dark background and white text) - Select
custom
to select your own colours for the banner: - Background defines the colour of the background of the banner
- Text defines the colour of instruction text of the banner
- Manage link defines the colour of the text link that allows the visitor to select the individual cookies they want to accept
- Button backgrounds defines the background colour of the
accept
anddecline
buttons - Button text defines the text colour of the
accept
anddecline
buttons
Cookie banner text
Use the rich text editor to customise the text displayed within the cookie banner. To remain compliant with cookie consent laws you should include a link to either your privacy policy or a cookies policy so the user can read more information about cookies on your website.
Cookie popup preferences
In the Cookie preferences section select your settings for the following options:
Cookie access button position
This setting determines the appearance of the cookie access button, displayed to visitors once they have confirmed their cookie preferences. The cookie access button's colours are determined by the settings for the cookie banner.
- Select
left
for the cookie access button to appear in the bottom left of your website - Select
right
for the cookie access button to appear in the bottom right of your website
Cookie preference popup colours
- Select
light
to display the popup with light colours (a white background and black text) - Select
dark
to display the popup with dark colours (a dark background and white text) - Select
custom
to select your own colours for the popup: - Background defines the colour of the background of the popup
- Title defines the colour of the title text
- Close icon defines the colour of the close icon in the popup
- Text defines the colour of other text in the popup
- Button backgrounds defines the background colour of the buttons in the popup
- Button text defines the colour of the text in the buttons in the popup
Cookie popup title
Use the rich text editor to customise the title of the popup.
Text settings
Use the rich text editor to customise the title and main text shown for each available cookie type displayed in the consent widget. Each cookie type is described later in this help guide:
- Required cookies
- Personalisation cookies
- Marketing cookies
- Analytics cookies
Cookie types
Cookie types
In accordance with cookie consent laws, including [the GDPR](Define the GDPR in the context of cookie consent]!!, ShopWired defines the following types of cookies:
Required cookies
Required cookies are those that are essential for the basic operation of your website, such as enabling checkout, remembering privacy settings, and keeping visitors logged into accounts. These cookies are all set by ShopWired and visitors cannot disable required cookies. You can read more about ShopWired's cookies later in this help guide article.
Personalisation cookies
Personalisation cookies store visitors preferences and customise the shopping experience.
Marketing cookies
Marketing cookies track visitor behaviour across your website and others to deliver targeted ads and measure the effectiveness of marketing campaigns. Marketing cookies include the Facebook Tracking Pixel.
Analytics cookies
Collect anonymised data about how visitors use your website, helping you improve functionality, performance, and content. Analytics cookies include Google Analytics 4.
Google Consent Mode V2
Google Consent Mode V2
If you are using Google Analytics 4 (GA4) and want to implement Google Consent Mode V2 on your website, ShopWired strongly recommends:
- Using ShopWired's built-in Google Analytics 4 feature to configure GA4 on your website
- Activating the cookie widget to require cookie consent before GA4 is run on your website
- Activating Google Consent Mode V2 on the Visitor monitoring page
For more information, read ShopWired's guidance on Google Consent Mode V2.
ShopWired's cookies
ShopWired's cookies
The ShopWired platform sets a number of cookies on visitors' browsers to provide the services of an ecommerce website. These cookies do not process personally identifiable information (including IP addresses) and therefore do not require the visitor's consent, including ShopWired's visitor statistics feature. They are always set on visitor devices, and cannot be disabled.
Cookie name | Description | Expiration time |
---|---|---|
amazon_Login_accessToken |
Used by and contains the access token | The expiration time varies |
basket |
Used by ShopWired's shopping basket system and contains the basket token | Expires after 30 days |
login_token |
Used by the 'remember me' feature for website customer accounts and contains the login token | Expires after 7 days |
rated_questions |
Used by the product questions & answers feature and contains question IDs | Expires after 1 year |
wishlist |
Used by the wishlist system and contains product IDs | Expires after 400 days |
referrer |
Used by the referrer system | Expires after 60 days |
customer_referrer |
Used by the referral system | The expiration time is customisable within the app |
recently_viewed_products |
Stores the IDs of | Expires after 30 days |
_shopwired_theme_preview |
Used by the theme preview system when viewing a draft theme | Expires when the browser is closed |
__holding_page_token |
Used by the holding page feature | Expires after 24 hours |
_shopwired_visit |
Used by the visitor statistics feature on ShopWired to record a visit to your website, used in conjunction with _shopwired_visitor which tracks a visitor as they navigate across your website's pages |
Both expire after 30 days |
PHPSESSID is used to set the visitor's |
Expires when the browser is closed |
Cookie consent Twig variable
Cookie consent Twig variable
The following Twig variables return true
if the visitor has consented to the type of cookies:
global.advanced_cookie_consent.analytics
Returns true
if the visitor has consented to analytics cookies (e.g. Google).
global.advanced_cookie_consent.personalisation
Returns true
if the visitor has consented to personalisation cookies (e.g. live chat, Disqus).
global.advanced_cookie_consent.marketing
Returns true
if the visitor has consented to marketing cookies (e.g. Meta/Facebook, your “Marketing scripts” block).