Fixes #17926
Cookies are string values so if we set a cookie with an int value we need to check the string value of that int against the set cookie to make sure it was correctly set (otherwise eg '12345' !== 12345 and we log an unnecessary console error)
This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers