Title: Google Analytics
Last modified: August 20, 2016

---

# Google Analytics

 *  Resolved [psheld](https://wordpress.org/support/users/psheld/)
 * (@psheld)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-analytics-59/)
 * Thanks for a great plug-in, but one thing isn’t quite working for me.
 * I disabled the plug-in “Google Analytics for WordPress”, pasting the [relevant script](https://developers.google.com/analytics/devguides/collection/gajs/asyncTracking)
   into the header box in Cookillian settings instead.
 * When visitors opt-in with Cookillian the analytics script is not added into the
   header.
 * What am I doing wrong? Thanks in advance.
 * [http://wordpress.org/extend/plugins/cookillian/](http://wordpress.org/extend/plugins/cookillian/)

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

 *  [Gin Hogenes](https://wordpress.org/support/users/ginh/)
 * (@ginh)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/google-analytics-59/#post-3146625)
 * Did you find the problem? I’m having the same issue
 *  Anonymous User 4048828
 * (@anonymized-4048828)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/google-analytics-59/#post-3146626)
 * [@gin](https://wordpress.org/support/users/gin/).H – When adding the JavaScript
   to either the _Header_ or _Footer_ box, verify the setting that comes afterwards:
 * _JavaScript Tags: Automatically wrap header and footer in `<script>` and `</script
   >` tags._
 * If this is enabled, it will automatically wraps the header/footer you’ve provided
   in `<script>` tags. If they are already present, then this should not be required(
   or should be removed first).
 *  [Gin Hogenes](https://wordpress.org/support/users/ginh/)
 * (@ginh)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/google-analytics-59/#post-3146627)
 * Thanks Myatu
 * That did the trick
 *  Anonymous User 4048828
 * (@anonymized-4048828)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/google-analytics-59/#post-3146628)
 * Glad it works!

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

The topic ‘Google Analytics’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cookillian_d2cad4.svg)
 * [Cookillian](https://wordpress.org/plugins/cookillian/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookillian/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookillian/)
 * [Active Topics](https://wordpress.org/support/plugin/cookillian/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookillian/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookillian/reviews/)

## Tags

 * [opt-in](https://wordpress.org/support/topic-tag/opt-in/)

 * 4 replies
 * 3 participants
 * Last reply from: Anonymous User 4048828
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/google-analytics-59/#post-3146628)
 * Status: resolved