sendSocial method

  1. @override
Future<void> sendSocial(
  1. String network,
  2. String action,
  3. String target
)
override

Sends a Social hit to Google Analytics.

network specifies the social network, for example Facebook or Google Plus. action specifies the social interaction action. For example on Google Plus when a user clicks the +1 button, the social action is 'plus'. target specifies the target of a social interaction. This value is typically a URL but can be any text.

Implementation

@override
Future<void> sendSocial(String network, String action, String target) =>
    _log('social', {'network': network, 'action': action, 'target': target});