/**
* Adds a segment named `name`
*
* @param name {string}
* @param options {object}
* @param options.expiration {integer} timestamp
* @param options.maxAge {integer} number of seconds before it expires
*/
window._segments.add(name, opts)
/**
* Removes a segment named `name`
*
* @param name {string}
*/
window._segments.remove('name')
CN_Segments=prevf,expires=1552521600|tny-trial,expires=1552521600
Note: there is no ttl
in the cookie. All ttl
should be transformed into an expiration timestamp