<p>Installing GA is easy... you can either <a href="https://craftcms.com/docs/globals" rel="nofollow noreferrer">put that info into a Global field</a>, or <a href="http://twig.sensiolabs.org/doc/tags/include.html" rel="nofollow noreferrer">include it as a separate Twig template</a>.</p>

<p>As for general SEO... Check out the <a href="https://github.com/nystudio107/seomatic" rel="nofollow noreferrer">SEOmatic plugin</a> or the <a href="https://sprout.barrelstrengthdesign.com/craft-plugins/seo" rel="nofollow noreferrer">Sprout SEO plugin</a>.</p>

CC BY-SA 3.0
2014-09-25T17:02:17.687Z
2017-08-01T16:22:58.237Z
2017-08-01T16:22:58.237Z
Lindsey D
<p>For general SEO plugins I'd give <a href="https://github.com/nystudio107/seomatic" rel="nofollow">SEOMatic</a> a try. I've used it on a number of projects. It's a well supported plugin, regularly updated by the developer.</p>

CC BY-SA 3.0
2016-07-30T07:11:52.567Z
2016-07-30T07:11:52.567Z
Steve Holland
<p>You can simply just add the google analytics script that it gives you in the _layout.html base file or the google tag manager scripts if you want to add other tracking code as well as google analytics.</p>

CC BY-SA 3.0
2017-08-01T16:50:05.520Z
2017-08-01T16:50:05.520Z
mention79
<p>I'm 5 minutes new to Craft and G&amp;T, but my client needs GA installed on their new site.</p>

<p>Any thoughts about how to do this?</p>

<p>Also, general SEO questions: are there SEO plugins a la wordpress that you guys can point me to?</p>

CC BY-SA 3.0
2014-09-25T17:38:55.823Z
Hi Zac! Don't forget to check out the long list of Craft plugins here: http://straightupcraft.com/craft-plugins. Enjoy your Craft work and your gin and tonics.
Matt Stein
<plugins>
Adding Google Analytics Code
# Adding Google Analytics Code

(Asked by: username_0 on 2014-09-25)

I'm 5 minutes new to Craft and G&T, but my client needs GA installed on their new site.

Any thoughts about how to do this?

Also, general SEO questions: are there SEO plugins a la wordpress that you guys can point me to?

**Tags:** plugins

> **Comments:**
> **username_1**: Hi Zac! Don't forget to check out the long list of Craft plugins here: http://straightupcraft.com/craft-plugins. Enjoy your Craft work and your gin and tonics.  

---

## 3 answers

### Answer by username_2 on 2014-09-25. Score: 5

Installing GA is easy... you can either [put that info into a Global field](https://craftcms.com/docs/globals), or [include it as a separate Twig template](http://twig.sensiolabs.org/doc/tags/include.html).

As for general SEO... Check out the [SEOmatic plugin](https://github.com/nystudio107/seomatic) or the [Sprout SEO plugin](https://sprout.barrelstrengthdesign.com/craft-plugins/seo).


---

### Answer by username_3 on 2016-07-30. Score: 2

For general SEO plugins I'd give [SEOMatic](https://github.com/nystudio107/seomatic) a try. I've used it on a number of projects. It's a well supported plugin, regularly updated by the developer.


---

### Answer by username_4 on 2017-08-01. Score: 1

You can simply just add the google analytics script that it gives you in the \_layout.html base file or the google tag manager scripts if you want to add other tracking code as well as google analytics.


---

