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

Excursionist
36 0 1

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
9938 80 1450

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
36 0 1

Nope. Thanks

1 Like