Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello everyone,
I use the cookie plugin “TinyCookie”.
The plugin offers various options for store front integration:
Storefront integration
If you want to add a cookie banner or preference feature, you can easily do so using our pre-built features.To open the cookie bar from a URL, simply add ?tinycookie-preview to the end of any URL on your store.
https://*****.com?tinycookie-preview
To open Cookie Preferences from a URL, simply add ?tinycookie-preferences to the end of any URL on your store.
https://*****.com?tinycookie-preferences
To open the cookie bar or preferences without page refresh, you can use our ready-made JavaScript.
window.Shopify.tinycookie.loadCookieBar();
window.Shopify.tinycookie.loadPreferences();
I would now like to be able to open the preferences from both the footer and the privacy policy with a click without the page reloading.
So create a clickable link that I can place in both the footer and the privacy policy that the user can click to open the cookie settings without reloading the page.
I can't use the URL extensions for this because this involves a reload.
So the solution probably lies in JavaScript, which is also offered. However, I have no idea how to use this to create the clickable links I want.
Can someone help? 😊
The Dawn theme is used.
Best regards
Solved! Go to the solution
This is an accepted solution.
Hi @Cookie2024,
This is not something Shopify can support directly but someone else here may be able to offer some guidance. I'd recommend contacting the app developer of TinyCookie directly as well to ask them if they have any advice to offer; they can be reached at info@tiny-img.com.
Victor | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is an accepted solution.
Hi @Cookie2024,
This is not something Shopify can support directly but someone else here may be able to offer some guidance. I'd recommend contacting the app developer of TinyCookie directly as well to ask them if they have any advice to offer; they can be reached at info@tiny-img.com.
Victor | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025