function ga_push_action_push_pageview in GA Push 7
Add a push pageview from a rules action.
File
- ./
ga_push.rules.inc, line 237 - Rules implementation.
Code
function ga_push_action_push_pageview($parameters) {
$push = array(
'location' => $parameters['location'],
'page' => $parameters['page'],
'title' => $parameters['title'],
);
ga_push_add_pageview($push, $parameters['method']);
}