Title: How to add Google Analytics tracking code?
Last modified: October 16, 2017

---

# How to add Google Analytics tracking code?

 *  Resolved [cactusview](https://wordpress.org/support/users/tcvault/)
 * (@tcvault)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/how-to-add-google-analytics-tracking-code/)
 * I’m trying to figure out how to add my google analytics tracking code to Yoast
   after switching from All in one SEO, which had a field for this.
 * I’ve added the google authorization for the search console per the Yoast setup
   wizard and instructions. My analytics should show some visitor data, but it’s
   been blank since I’ve switched over.
 * How is this done in Yoast?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-add-google-analytics-tracking-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [monbauza](https://wordpress.org/support/users/monbauza/)
 * (@monbauza)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/how-to-add-google-analytics-tracking-code/#post-9593645)
 * Yoast SEO doesn’t have any fields to add a Google Anaytics tracking code to your
   website. We recommend a plugin like [Google Analytics by Monster Insights](https://wordpress.org/plugins/google-analytics-for-wordpress/)
   to monitor your traffic in Analytics.
 *  [Jerlyn](https://wordpress.org/support/users/jerparx/)
 * (@jerparx)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-google-analytics-tracking-code/#post-9612783)
 * Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to add Google Analytics tracking code?’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jerlyn](https://wordpress.org/support/users/jerparx/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-google-analytics-tracking-code/#post-9612783)
 * Status: resolved