getPluginCookie = (customName) => {
    const name = customName || globalObj._config.cookie.name;
    const useLocalStorage = globalObj._config.cookie.useLocalStorage;
    const valueStr = useLocalStorage
        ? localStorageManager._getItem(name)
        : getSingleCookie(name, true);
    return parseCookie(valueStr, useLocalStorage);
}
Get plugin cookie
@param {string} [customName]