First of all, I try to offer her alternative and better ways of doing things. I selfhost a number of services that we both use and she also knows that she can come to me for advice and technical help.
I also got her a hardware key that is used together with a software password manager, to keep her passwords safe.
We also have a rule when it comes to social media. If she wants to post a picture of me, she needs to ask permission first.
One of the worst shopping basket designs I have ever seen, was where they added additional items together with the thing you wanted, forcing you to remove the thing they added before paying.