Method | Description | |
---|---|---|
getAll ( $idSite, $period, $date, $segment = false ) | Returns a report that shows | |
getCampaigns ( $idSite, $period, $date, $segment = false, $expanded = false ) | ||
getCleanKeyword ( $label ) | ||
getKeywordNotDefinedString ( ) | ||
getKeywords ( $idSite, $period, $date, $segment = false, $expanded = false, $flat = false ) | ||
getKeywordsForPageTitle ( $idSite, $period, $date, $title ) | ||
getKeywordsForPageUrl ( $idSite, $period, $date, $url ) | ||
getKeywordsFromCampaignId ( $idSite, $period, $date, $idSubtable, $segment = false ) | ||
getKeywordsFromSearchEngineId ( $idSite, $period, $date, $idSubtable, $segment = false ) | ||
getNumberOfDistinctCampaigns ( $idSite, $period, $date, $segment = false ) | ||
getNumberOfDistinctKeywords ( $idSite, $period, $date, $segment = false ) | ||
getNumberOfDistinctSearchEngines ( $idSite, $period, $date, $segment = false ) | ||
getNumberOfDistinctWebsites ( $idSite, $period, $date, $segment = false ) | ||
getNumberOfDistinctWebsitesUrls ( $idSite, $period, $date, $segment = false ) | ||
getReferrerType ( string $idSite, string $period, string $date, boolean | string $segment = false, boolean | integer $typeReferrer = false, boolean | integer $idSubtable = false, boolean $expanded = false ) : |
Returns a report describing visit information for each possible referrer type. The result is a datatable whose subtables are the reports for each parent row's referrer type. | |
getSearchEngines ( $idSite, $period, $date, $segment = false, $expanded = false, $flat = false ) | ||
getSearchEnginesFromKeywordId ( $idSite, $period, $date, $idSubtable, $segment = false ) | ||
getSocials ( string $idSite, string $period, string $date, string | boolean $segment = false, boolean $expanded = false, boolean $flat = false ) : |
Returns report comparing the number of visits (and other info) for social network referrers. | |
getUrlsForSocial ( string $idSite, string $period, string $date, boolean | string $segment = false, boolean | integer $idSubtable = false ) : |
Returns report containing individual referrer URLs for a specific social networking site. | |
getUrlsFromWebsiteId ( $idSite, $period, $date, $idSubtable, $segment = false ) | ||
getWebsites ( $idSite, $period, $date, $segment = false, $expanded = false, $flat = false ) |
Method | Description | |
---|---|---|
getDataTable ( string $name, integer $idSite, string $period, string | |
||
getLabelsFromTable ( $table ) |
Method | Description | |
---|---|---|
buildExpandedTableForFlattenGetSocials ( integer $idSite, string $period, string $date, string | false $segment, boolean $expanded, |
||
filterOutKeywordNotDefined ( |
||
getNumeric ( $name, $idSite, $period, $date, $segment ) | ||
removeSubtableIds ( |
Utility function that removes the subtable IDs for the subtables of the getReferrerType report. This avoids infinite recursion in said report (ie, the grandchildren of the report will be the original report, and it will recurse when trying to get a flat report). | |
removeSubtableMetadata ( |
Removes idsubdatatable_in_db metadata from a DataTable. Used by Social tables since they use fake subtable IDs. | |
setSocialIdSubtables ( |
Sets the subtable IDs for the DataTable returned by getSocial. |
public getAll ( $idSite, $period, $date, $segment = false ) |
public getCampaigns ( $idSite, $period, $date, $segment = false, $expanded = false ) |
protected getDataTable ( string $name, integer $idSite, string $period, string | |
||
$name | string | |
$idSite | integer | |
$period | string | |
$date | string | |
|
$segment | string | |
$expanded | boolean | |
$idSubtable | integer | null | |
return |
public getKeywords ( $idSite, $period, $date, $segment = false, $expanded = false, $flat = false ) |
public getKeywordsForPageTitle ( $idSite, $period, $date, $title ) |
public getKeywordsForPageUrl ( $idSite, $period, $date, $url ) |
public getKeywordsFromCampaignId ( $idSite, $period, $date, $idSubtable, $segment = false ) |
public getKeywordsFromSearchEngineId ( $idSite, $period, $date, $idSubtable, $segment = false ) |
public getNumberOfDistinctCampaigns ( $idSite, $period, $date, $segment = false ) |
public getNumberOfDistinctKeywords ( $idSite, $period, $date, $segment = false ) |
public getNumberOfDistinctSearchEngines ( $idSite, $period, $date, $segment = false ) |
public getNumberOfDistinctWebsites ( $idSite, $period, $date, $segment = false ) |
public getNumberOfDistinctWebsitesUrls ( $idSite, $period, $date, $segment = false ) |
public getReferrerType ( string $idSite, string $period, string $date, boolean | string $segment = false, boolean | integer $typeReferrer = false, boolean | integer $idSubtable = false, boolean $expanded = false ) : |
||
$idSite | string | The site ID. |
$period | string | The period to get data for, either 'day', 'week', 'month', 'year', or 'range'. |
$date | string | The date of the period. |
$segment | boolean | string | The segment to use. |
$typeReferrer | boolean | integer | (deprecated) If you want to get data only for a specific referrer type, supply a type for this parameter. |
$idSubtable | boolean | integer | For this report this value is a referrer type ID and not an actual subtable ID. The result when using this parameter will be the specific report for the given referrer type. |
$expanded | boolean | Whether to get report w/ subtables loaded or not. |
return |
public getSearchEngines ( $idSite, $period, $date, $segment = false, $expanded = false, $flat = false ) |
public getSearchEnginesFromKeywordId ( $idSite, $period, $date, $idSubtable, $segment = false ) |
public getUrlsForSocial ( string $idSite, string $period, string $date, boolean | string $segment = false, boolean | integer $idSubtable = false ) : |
||
$idSite | string | |
$period | string | |
$date | string | |
$segment | boolean | string | |
$idSubtable | boolean | integer | This ID does not reference a real DataTable record. Instead, it is the array index of an item in the Socials list file. The urls are filtered by the social network at this index. If false, no filtering is done and every social URL is returned. |
return |
public getUrlsFromWebsiteId ( $idSite, $period, $date, $idSubtable, $segment = false ) |
public getWebsites ( $idSite, $period, $date, $segment = false, $expanded = false, $flat = false ) |