You are here

function ga_push_action_push_social in GA Push 7

Add a push pageview from a rules action.

File

./ga_push.rules.inc, line 249
Rules implementation.

Code

function ga_push_action_push_social($parameters) {
  $push = array(
    'socialNetwork' => $parameters['socialNetwork'],
    'socialAction' => $parameters['socialAction'],
    'socialTarget' => $parameters['socialTarget'],
  );
  ga_push_add_social($push, $parameters['method']);
}