diff --git a/measurement_protocol.module b/measurement_protocol.module index 80c7beb..06ed75c 100644 --- a/measurement_protocol.module +++ b/measurement_protocol.module @@ -21,7 +21,7 @@ * The prepared payload, ready to be sent to Google. If null is returned, * then the account was not set. */ -function measurement_protocol_create_create_payload($data) { +function measurement_protocol_create_payload($data) { // Grab this from the googlanalytics module. $payload['tid'] = variable_get('googleanalytics_account', ''); @@ -85,7 +85,7 @@ function measurement_protocol_send_action($data) { * An array containing keys with one or more data points to send to Google. */ function mpt($data) { - $data = measurement_protocol_create_create_payload($data); + $data = measurement_protocol_create_payload($data); $response = measurement_protocol_send_action($data); if (is_object($response) && $response->code !== 200) { watchdog('measurement', 'Error (%code): %message<br/>Error: %error<br/>Request Payload: %req', array(