Reporting or Analytics


Using the DudaMobile API, you can pull analytics for a specific mobile website. You can then display them for your users or send them an email containing the information.

Target Audience

Anyone looking to be able to pull site analytics out of Duda and into their own system.

Available for: Anyone.

Essentials before getting started

Requested API access and have been approved. Have your API user and password keys ready.

Steps to implement

1) Get Site Analytics

In order to get Analytics for a site

API URL:{site_name}

URL Parameters: site_alias - your site alias (mandatory)


  • from - Start date (optional)
  • to - End date (optional)
  • result - either: "traffic" or "activities", default is "traffic" (optional)

Success response code: [http_code] => 200

PHP Code example: (replace {parameter} with actual value)

$data = '';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,'{site_alias}');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, "{your_api_username}:{your_api_password}");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER,array(                                                                         
	'Content-Type: application/json',      
    'Content-Length: ' .strlen($data))                                                                      
$output = curl_exec($ch);

If the result parameter is "traffic", the output print will include the following parameters: visits, unique_visitors, page_view.

If the result parameter is “activities”, the output print will include the following parameters: click_to_calls, click_to_maps, click_to_emails.

A full copy of this code is attached to this article. 


Priority Phone Support

English phone support is available 18 hours a day,
Monday through Friday, 3am to 9pm (EST).

United States +1 866-776-1550 3am to 9pm (Eastern)
United Kingdom +44 (0)800-011-9071 8am to 2am (London)
France +33 (0)9-75-18-84-74 9am to 3am (Paris)
Israel +972 (0)3-720-8922 10am to 4am (Jerusalem)
Australia +61 (0)2-8880-9166 7pm to 1pm (Sydney)
To schedule a call in French, Portuguese, Hebrew or Russian, please email us at

Please Log in as a DudaPro

Priority Phone Support is available exclusively to DudaPros. Log in to your DudaPro account now to see our international support numbers.

Log In
Not a DudaPro? Start a free trial now!