MP_Addon_CalculatorsCallRail::get_callrail_calls()

Callrail call metabox data.


Return Return

(array) $this->callrail_call { Call rail calls metabox. @type array 'start_time' Start time @type array 'customer_phone_number' Phone number @type array 'recording' Recording @type array 'conversational_transcript' Transcription @type array 'formatted_call_type' Call type @type array 'formatted_duration' Duration @type array 'call_highlights' Call highlights @type array 'device_type' Device @type array 'agent_email' Agent email @type array 'note' Note @type array 'tags' Tags @type array 'formatted_tracking_source' Tracking source @type array 'source_name' Source name @type array 'referrer_domain' Referrer domain @type array 'referring_url' Referring URL @type array 'landing_page_url' Landing page URL @type array 'last_requested_url' Last requested URL }


Top ↑

Source Source

File: calculator-callrail-add-on/inc/MP_Addon_CalculatorsCallRail.php

	protected function get_callrail_calls(){

		$this->callrail_call = array(
			array(
				'id'      => 'start_time',
				'title'   => __( 'Start time', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The date and time the call started.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'customer_phone_number',
				'title'   => __( 'Phone number', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'recording',
				'title'   => __( 'Recording', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'conversational_transcript',
				'title'   => __( 'Transcription', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('A transcribed copy of the phone call conversation, if available. Phone call transcription is an optional add-on available for a fee. Call recording must be enabled on tracking numbers where you’d like to transcribe calls.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'formatted_call_type',
				'title'   => __( 'Call type', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The type of call.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'formatted_duration',
				'title'   => __( 'Duration', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'call_highlights',
				'title'   => __( 'Call highlights', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('A list of relevant keywords automatically found in the call transcription.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'device_type',
				'title'   => __( 'Device', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('Either mobile or desktop', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'agent_email',
				'title'   => __( 'Agent email', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('Email address for the user who answered the call, when applicable.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'note',
				'title'   => __( 'Note', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('Text notes to associate with this call.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'tags',
				'title'   => __( 'Tags', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('Tags which have been applied to this call.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'formatted_tracking_source',
				'title'   => __( 'Tracking source', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The name of the call source.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'source_name',
				'title'   => __( 'Source name', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The name of the tracking number within CallRail.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'referrer_domain',
				'title'   => __( 'Referrer domain', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The domain that referred the caller to your website, available for calls placed to Website (Session) trackers.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'referring_url',
				'title'   => __( 'Referring URL', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The URL that referred the caller to your website, available for calls placed to Website (Session) trackers.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'landing_page_url',
				'title'   => __( 'Landing page URL', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The URL the caller first landed on, available for calls placed to Website (Session) trackers.', 'CalculatorsCallRailAddon'),
			),
			array(
				'id'      => 'last_requested_url',
				'title'   => __( 'Last requested URL', 'CalculatorsCallRailAddon' ),
				'meta_id' => MortgagePlatform::$prefix . 'callrail',
				'description'=> __('The URL of the active page at the time the call was placed, available for calls placed to Website (Session) trackers.', 'CalculatorsCallRailAddon'),
			),
		);

		return $this->callrail_call;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.