Description Usage Arguments Examples
Function to get all calls
1 2 3 4 5 6 7 8 9 10 11 12 | getCallsCoMagic(token = NULL, user_id = NULL, date_from = NULL,
date_till = NULL, filter = list(field = "campaign_name", operator =
"!=", value = NULL), fields = list("id", "visitor_id", "ua_client_id",
"start_time", "finish_time", "finish_reason", "direction", "is_lost",
"communication_number", "communication_id", "communication_type",
"total_duration", "virtual_phone_number", "sale_date", "sale_cost",
"search_query", "search_engine", "referrer_domain", "referrer",
"entrance_page", "channel", "tags", "scenario_name", "site_domain_name",
"campaign_name", "visitor_city", "visitor_region", "visitor_country",
"visitor_device", "contact_phone_number", "utm_source",
"utm_medium", "utm_term", "utm_content", "utm_campaign", "attributes",
"source"))
|
token |
Your Data API token |
user_id |
Your ID, request it from technical support |
date_from |
date_from, by default adding 00:00:00 |
date_till |
date_till, by default adding 00:00:00, so that you should do date+1 |
filter |
filters, default value is !=NULL, see |
fields |
fields, see |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.