Prerequisites The SuiteCommerce Analytics Data feature requires these or later application versions: NetSuite 2021.2 SuiteCommerce 2021.2 or SuiteCommerce Advanced 2021.2 The SuiteCommerce Cookie Consent extension prerequisites are the same as for the feature: NetSuite 2021.2 SuiteCommerce 2021.2 or SuiteCommerce Advanced 2021.2 Enable the SuiteCommerce Analytics Data Feature To enable the SuiteCommerce Analytics Data feature: Go… Continue reading Setting Up the SuiteCommerce Analytics Data Feature
Tag: cookie
Set a customer’s cookie preferences
To set cookie preferences, you provide an object containing key/value pairs. The key represents the cookie preference name, which must be an alphanumeric string. The corresponding value can be either true or false. True indicates the customer’s agreement to the use of a specific type of cookie, while false indicates disagreement. Any valid text string… Continue reading Set a customer’s cookie preferences
Cookie preferences of a customer
To access the cookie preferences of a customer from the customer record in NetSuite, the SuiteCommerce Analytics Data feature must be enabled. This method retrieves a list of key/value pairs representing the cookie names and their corresponding boolean values (true or false), along with the last date the customer updated the preferences. It’s important to… Continue reading Cookie preferences of a customer
How to store a value in a cookie and to get that value.
Here is code to create a variable in cookie and we are set a value to that and then getting in the same code.
Cookie message in SCA
Requirement is to show a cookie section in the website of SCA and to store the value for one day.
Cookies inside SuiteScript
Function to read cookie Function to clear or delete existing cookies Function to set cookie
Login and User validation (html code)
Login page creation with validation checking