To remain compliant with privacy and security laws such as GDPR and CCPA, websites must obtain your permission or Cookie Consent to use your information.
You can choose from a wide range of layouts and color schemes.
Testing the Free Version of Osano
Define a sample landing page HTML file for the test.
For example, the following test.html code can be used.
Replace the following fields in the sample code:
Setup a simple HTTP server:
For example on a Mac:
Try to access from a browser using the following URL: http://127.0.0.1/test.html
Or, you can refer to this live demo: https://treasure-data.github.io/js-examples/consensus-management/index.html
You see a blank page with a bar at the bottom. Do not select Allow cookies.
Refresh the page several times and check the destination table that the tracking info is being sent to.
After a few minutes at most, you should begin to see the streaming data in the destination table. You can confirm by running a SELECT TABLE statement.
Select Decline on the test.html page.
Refresh the page.
After the refresh, the consent prompt should no longer appear.
Check the destination table of web tracking again.
After a few minutes at most, you should begin to see the new streaming data in the destination table. You can confirm by running a SELECT TABLE statement.
As you can see, the columns td_ip, td_client_id and td_global_id are now excluded from the streaming data sent to TD.
Stop the HTTP server running on your local PC to clean up your test.
Delete test.html file.
When a user accesses your web page for the first time, the following information is included in the stored cookie by default (td_ip, td_client_id and td_global_id):
If the user selects Decline on the cookie consent prompt, the following fields (td_ip, td_client_id and td_global_id) are not sent on any subsequent page visits by this user: