Title: use only GA code without the plugin?
Last modified: November 8, 2020

---

# use only GA code without the plugin?

 *  [Alwin](https://wordpress.org/support/users/wp-opti/)
 * (@wp-opti)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/use-only-ga-code-without-the-plugin/)
 * Hello, I am in the procces of deleting not strictly necessary plugins because
   I have to much of them… 🙂
 * A plugin to add GA code is not strictly necessary because I can add the GA code
   manually of course. However, I often find it difficult to edit the GA code myself.
   So now I came up with this workflow:
 * – Install the GAinWP plugin
    – Use the plugin to edit my GA code (for example
   things like track downloads, anominyze ip address and so on) – Go to the source
   code of my websit – Copy the GA code from the source code (generated by the plugin)
   and add the code manually – Delete the GAinWP plugin
 * My question is: can I use the GA code generated by the plugin without the plugin
   being installed? Is the generated code still working when added manually to the
   header?

The topic ‘use only GA code without the plugin?’ is closed to new replies.

 * ![](https://ps.w.org/ga-in/assets/icon-256x256.png?rev=1893724)
 * [GAinWP Google Analytics Integration for WordPress](https://wordpress.org/plugins/ga-in/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ga-in/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ga-in/)
 * [Active Topics](https://wordpress.org/support/plugin/ga-in/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ga-in/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ga-in/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [manually](https://wordpress.org/support/topic-tag/manually/)

 * 0 replies
 * 1 participant
 * Last reply from: [Alwin](https://wordpress.org/support/users/wp-opti/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/use-only-ga-code-without-the-plugin/)
 * Status: not resolved