public static function GoogleAnalyticsReportsApiFeed::currentUrl in Google Analytics Reports 7.3
Get the current page url.
Return value
string
- current page url.
1 call to GoogleAnalyticsReportsApiFeed::currentUrl()
- google_analytics_reports_api_admin_submit_setup in google_analytics_reports_api/
google_analytics_reports_api.admin.inc - Start authorization process with Google Analytics API.
File
- google_analytics_reports_api/
google_analytics_reports_api.lib.inc, line 73 - Provides the Google Analytics Reports API Feed object type and associated methods.
Class
- GoogleAnalyticsReportsApiFeed
- GoogleAnalyticsReportsApiFeed class to authorize access to and request data from the Google Analytics Core Reporting API.
Code
public static function currentUrl() {
return url(request_path(), array(
'absolute' => TRUE,
));
}