Use Nodly for cookie consent
With Wait for consent on, the script reads consent from Nodly automatically - no extra code.
Last reviewed
How it works
Turn on Wait for consent in the site's Settings. If Nodly is on the page, the script reads the visitor's current choice and follows later changes automatically.
- Preferences accepted: surveys can run as normal.
- Preferences declined or not answered yet: nothing is stored and no survey is shown.
- The visitor changes their mind: the script follows the new choice on the same page. Withdrawing preferences stops storing and hides any open survey or feedback button straight away.
Only the preferences category counts. Statistics or marketing consent alone does not allow surveys.
It works when Nodly is loaded through Tag Manager after our script, and on sites that show Cookiebot through Nodly.
Other consent tools
Without Nodly, or if you want to decide yourself, call this when the visitor has agreed. The latest signal wins, whether it comes from Nodly or from your own call:
Give consent manually
littleask('consent', true);Check that it works
- Open your site with ?littleask_debug=1 at the end of the address.
- Accept preferences in the Nodly banner.
- The browser console shows "consent from Nodly: true".