Can we add a cookie using javascript included via script tag ?

Excursionist
39 0 2

I want to create a random userId for each user that visits my site and store it in the cookies. Is this possible ?

0 Likes
Shopify Expert
9778 86 1526

JavaScript can create cookies and generate randomised strings so not seeing this a problem.
Are you struggling with the JavaScript to do that? 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
Excursionist
39 0 2

Nope. Thanks

1 Like