Nonprofits are borrowing tactics from consumer marketers.