Title: Pk Google Analytics
Author: Pradnyankur Nikam
Published: <strong>Oktòb 30, 2014</strong>
Last modified: Mas 18, 2026

---

Search plugins

![](https://ps.w.org/phpsword-google-analytics/assets/icon-128x128.png?rev=1016709)

# Pk Google Analytics

 By [Pradnyankur Nikam](https://profiles.wordpress.org/phpsword/)

[Download](https://downloads.wordpress.org/plugin/phpsword-google-analytics.zip)

 * [Details](https://hat.wordpress.org/plugins/phpsword-google-analytics/#description)
 * [Reviews](https://hat.wordpress.org/plugins/phpsword-google-analytics/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/phpsword-google-analytics/#installation)
 * [Development](https://hat.wordpress.org/plugins/phpsword-google-analytics/#developers)

 [Support](https://wordpress.org/support/plugin/phpsword-google-analytics/)

## Description

[Pk Google Analytics WordPress plugin](https://pkplugins.com/wordpress/pk-google-analytics-wordpress-plugin/)
is a plugin for WP site. It lets you add Google Analytics code easily into your 
WordPress websites. This is one of the simplest, and easy to use WordPress plugins.
It adds Google Analytics code on your website. It also adds other tracking codes
on your WordPress websites. The following website analytics codes can be installed
by using this plugin.

 * [Google Analytics](https://analytics.google.com/analytics/web/)
 * Yahoo Web Analytics
 * Clicky
 * Piwik
 * Mint
 * Church Analytics
 * KISSmetrics
 * Open Web Analytics
 * Clicktale
 * CrazyEgg
 * CloudFlare

#### Pk Google Analytics WordPress Plugin Features

 * Very simple and easy to use.
 * No complex menus or setting.
 * Just copy and past your Google Analytics code to the given box and done.
 * Enable or disable the tracking code on the website.
 * Also supports other analytic services listed above.
 * Compatible with almost every version of WordPress.

#### How Does It Work?

The PHP codes of this plugin save the Google tracking codes in the website database.
Once the pages of your website are accessed by the users, WordPress loads an action
hook named `wp_footer` on every page request. On every `wp_footer` action hook, 
the plugin appends the analytics code to the pages. The procedure is the same for
all post types such as the home page, category page, post pages or custom pages.
This enables Google to access and track all the pages of your website properly.

#### Translations

Currently, the plugin is available in only the English language. We will add more
languages soon.

#### More Information and Support

 * Homepage of Pk Google Analytics Plugin for WordPress
 * More WordPress plugins by Pradnyankur Nikam
 * [Plugin support and help](https://pkplugins.com/wordpress/pk-google-analytics-wordpress-plugin/)

### Read more and Support

 * If you like our analytics plugin, please provide your valuable feedback and suggestions
   to improve the quality of the plugin.
 * Feel free to test the plugin in different WordPress versions and vote in the 
   Compatibility section so that other users can check compatibility and download
   the appropriate version.
 * Share your experience by rating the plugin.
 * Read about plugin news, updates and more on our official website.
 * Do not hesitate to ask questions, report bugs/errors or anything related to our
   plugin through our support section, author’s website or plugin website.

#### License

Pk Google Analytics WordPress plugin is released under the GPLv2. You can download,
install and use this plugin for free on your personal or commercial website.

## Screenshots

 * [[
 * Pk Google Analytics Screenshot1

## Installation

This section describes **how to install the Google Analytics code in your WordPress
website**. Read the following sections carefully to install and use this plugin 
on your website.

#### Search and install from the WordPress administrator panel

 1. If you are logged into your WordPress, from the admin panel go to the ‘Plugins’
    menu and click the ‘Add New’ button.
 2. On the Plugins installation page, under the Search navigation menu, enter ‘Pk Google
    Analytics’ in the search bar and click ‘Search Plugins.’
 3. You will find ‘Pk Google Analytics plugin By Pradnyankur Nikam’ in the list.
 4. Click the ‘Install Now’ button to install the plugin or click ‘Details’ to read
    more. The ‘Install Now’ link is also available on the details popup window.
 5. Once the plugin is installed, you need to activate the plugin to use it on your
    website.

#### Manual Installation

 1. To install the plugin manually, visit [Pk Google Analytics WordPress plugin](https://wordpress.org/plugins/phpsword-google-analytics/)
    description page.
 2. Click the ‘Download Version 4.0’ button on the page to download and save the plugin
    zip file named `phpsword-google-analytics.zip` to your computer.
 3. Login to your WordPress admin panel. Go to Plugins -> Add New -> select ‘Upload’
    navigation on the page. Click the ‘Browse’ button, select the downloaded `phpsword-
    google-analytics.zip` file from your computer and click the ‘Install Now’ button.
    WordPress will upload and automatically extract and install the plugin in the appropriate
    directory for you.
      **OR**  Extract the `phpsword-google-analytics.zip` file and
    upload all the files inside ‘phpsword-google-analytics’ folder to your website’s`
    wp-content/plugins` directory. Go to plugins and activate the Pk Google Analytics
    plugin from the list.
 4. Reload the WordPress Admin Panel and you will see a new menu ‘Pk Analytics’ on 
    the left sidebar menu of you administrator panel.
 5. Click and open the ‘Pk Analytics’ page. Here, you can insert and save your Google
    Analytics code or other website tracking code.
 6. You can also completely enable or disable the tracking code by selecting the respected
    dropdown menu.

## FAQ

### Is this plugin free to use?

Yes. This plugin is absolutely free to install and use.

### Is the plugin secure to use?

Yes. We have done our best to keep the php codes safe and secure. If you encounter
any security related issue, feel free to contact us.

### Can I add other website’s analytics code using this plugin?

Yes! You can add other website’s analytics code by using this plugin. Just copy,
paste and save the tracking codes of other services in the given box.

### What are the requirements to use this plugin?

You need an active Google Analytics account and obviously a WordPress website.

### I have several WordPress websites. Can I track all of them using one plugin?

No, you need to install the plugin on each WordPress website.

### Where can I see the analytics report?

You can see your detailed analytics report in your [Google Analytics](https://analytics.google.com/analytics/web/)
account. This plugin just helps you to add the google analytics codes inside your
WordPress website.

### How do I turn off the analytics?

On plugins page you can find the dropdown menu to enable or disable the tracking
code. Just choose the appropriate option and save.

### How can I deactivate or uninstall the plugin?

Go to the plugins menu and deactivate the plugin from the installed plugins list.

### More Questions?

Your suggestions and feedback are very important to us. If you have any questions
or suggestions, feel free to ask us.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Pk Google Analytics” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Pradnyankur Nikam ](https://profiles.wordpress.org/phpsword/)

“Pk Google Analytics” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/phpsword-google-analytics/contributors)
for their contributions.

[Translate “Pk Google Analytics” into your language.](https://translate.wordpress.org/projects/wp-plugins/phpsword-google-analytics)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/phpsword-google-analytics/),
check out the [SVN repository](https://plugins.svn.wordpress.org/phpsword-google-analytics/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/phpsword-google-analytics/)
by [RSS](https://plugins.trac.wordpress.org/log/phpsword-google-analytics/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 4.0

 * Fourth version of the plugin released on 17 March 2026.
 * Upgraded to support WordPress 6.9.4 and PHP 8.
 * Added data sanitization for improved security.
 * Fixed minor typos and improved code robustness.

#### 3.0

 * Third version of the plugin released on 31 July 2022.
 * Small bugs/issues fixed in the plugin.
 * The plugin made compatible for the latest release of WordPress (6.0.1)

#### 2.0

 * Second version of the plugin released on 29 November 2021.

#### 1.0

 * First version of the Pk Google Analytics WordPress plugin released and available
   to download on 30 October 2014.

## Meta

 *  Version **4.0**
 *  Last updated **3 weeks ago**
 *  Active installations **400+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/phpsword-google-analytics/), [Spanish (Chile)](https://cl.wordpress.org/plugins/phpsword-google-analytics/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/phpsword-google-analytics/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/phpsword-google-analytics)
 * Tags
 * [google](https://hat.wordpress.org/plugins/tags/google/)[google analytic](https://hat.wordpress.org/plugins/tags/google-analytic/)
   [google analytics](https://hat.wordpress.org/plugins/tags/google-analytics/)[google analytics widget](https://hat.wordpress.org/plugins/tags/google-analytics-widget/)
   [Web Statistics](https://hat.wordpress.org/plugins/tags/web-statistics/)
 *  [Advanced View](https://hat.wordpress.org/plugins/phpsword-google-analytics/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/phpsword-google-analytics/reviews/)

## Contributors

 *   [ Pradnyankur Nikam ](https://profiles.wordpress.org/phpsword/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/phpsword-google-analytics/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://pkplugins.com/)