Government agencies are increasingly making online tactics part of their outreach to various audiences.