# Do I need to add the Swiftype install code for Google Analytics?

**URL:** <https://community.swiftype.com/t/do-i-need-to-add-the-swiftype-install-code-for-google-analytics/630>\
**Category:** Helpline\
**Tags:** analytics\
**Created:** [March 22, 2018, 9:12am UTC](https://community.swiftype.com/t/do-i-need-to-add-the-swiftype-install-code-for-google-analytics/630 "2018-03-22T09:12:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliver.burkhalter](https://avatars.discourse-cdn.com/v4/letter/o/b4bc9f/32.png) [@oliver.burkhalter](https://community.swiftype.com/u/oliver.burkhalter)\
**Post date:** [March 22, 2018, 9:12am UTC](https://community.swiftype.com/t/do-i-need-to-add-the-swiftype-install-code-for-google-analytics/630/1 "2018-03-22T09:12:10Z")

</div>

Hi,  
In [How can I use Google Analytics with Swiftype?](https://community.swiftype.com/t/how-can-i-use-google-analytics-with-swiftype/76) you talk about the “Swiftype install code”. I’m not very sure if I still need to add this additional JS snippet to my webpage, this “Swiftype install code” or if it is enough just to have the GTM script integrated?

Thanks for feedback,  
Oli

---

<div class="post-metadata">

**Author:** ![mike](https://sea1.discourse-cdn.com/flex019/user_avatar/community.swiftype.com/mike/32/37_2.png) [@mike](https://community.swiftype.com/u/mike)\
**Post date:** [March 27, 2018, 10:15pm UTC](https://community.swiftype.com/t/do-i-need-to-add-the-swiftype-install-code-for-google-analytics/630/2 "2018-03-27T22:15:04Z")

</div>

Hey Oli,

There’s related discussion occurring in this thread: [How to add query parameter before #stq= fragment - #2 by mike](https://community.swiftype.com/t/how-to-add-query-parameter-before-stq-fragment/468/2)
