While California’s bill is similar to GDPR, there’s one really key difference: prior consent.
GDPR is a bit more strict, requiring a website to inform someone right away that they are being tracked by cookies (which you use if you have Google Analytics installed). You need to ask for consent to track certain data before you start collecting it.
CCPA/CPRA, on the other hand, says that someone needs to be able to opt out of having their information shared or sold, not the option to opt out of tracking overall.