This plugin will give you access to your Google Analytics data directly inside your WordPress blog.
To embed Google Analytics data into a post use the following syntax: [stattype: option, option, ...].
The currently available stat types are:
The following will be replaced by the number of pageviews for the current page or post over the past 30 days when embedded in that page or post:
The following will be replaced by a sparkline that represents the number of pageviews for the current page or post over the past 30 days when embedded in that page or post:
There is also a widget that can embed analytics on every page, just check out the widgets section. Widgets are only supported with WordPress 2.8 and above.
If you want to embed the analytics directly in a theme you can also call them directly. Here is an example of what you would would use:
$data = new GADWidgetData(); echo $data->gad_pageviews_sparkline(substr($_SERVER["REQUEST_URI"], -20));
Requires: 2.8 or higher
Compatible up to: 3.9.11
Last Updated: 2 years ago
Active Installs: 50,000+
0 of 2 support threads in the last two months have been marked resolved.
Got something to say? Need help?