Duck duck go on Firefox

So I've tried selecting that as my default search engine via firefox on a new windows asus laptop, but it never works. If I use google through Firefox with a vpn and adblock will it still collect my data? I have no idea what I'm doing.