What a loaded term.
It's really all about getting your message to the right audience at the right time on the right device.
To do that you need:
a digital strategy (where you want to go)
measurable goals (how you know success)
budget (it isn't entirely free anymore)