Using GA4 property with (gtag.js) following config:
gtag('js', new Date());
gtag('config', 'G-XXXXXXX', {
client_storage: 'none',
client_id: clientId, // I generate this
anonymize_ip: true,
});
And it still writes _ga and _ga_XXXXXXX cookies.
From what I found the flag client_storage=none only works for the old UA- properties, but for the new G- properties it doesn't have any effect.