Title: Analytics code error
Last modified: January 2, 2019

---

# Analytics code error

 *  Resolved [WP_User](https://wordpress.org/support/users/amarudare/)
 * (@amarudare)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-code-error/)
 * It is an excellent plugin and I got rid of a lot of other word press plugins 
   So thanks a ton for building such an awesome plugin.
    I used the bypass Google
   analytics option but the bounce rate and time on site was insanely off. Like 
   bounce rate was more than 98 and time was less than few seconds. I am using cloudflare.
   It chose the forward option automatically. There is a ga.js script by Ezoic installed.
   Can that cause interference?
 * I shifted back to CAOS plugin and now it works fine.
    Is there any way we can
   get the analytics function working? What am I missing? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fanalytics-code-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Fred](https://wordpress.org/support/users/fredawd/)
 * (@fredawd)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-code-error/#post-11049550)
 * If you use Cloudflare you should set IP Source on HTTP_CF_CONNECTION_IP
 *  Thread Starter [WP_User](https://wordpress.org/support/users/amarudare/)
 * (@amarudare)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-code-error/#post-11049755)
 * The plugin selected the other one by itself. I shall change it and get back to
   you.
 * Thanks!
 *  Plugin Contributor [Fred](https://wordpress.org/support/users/fredawd/)
 * (@fredawd)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-code-error/#post-11079576)
 * Hey there,
    Since this topic has been inactive for a while, I’m going to go ahead
   and mark as resolved. Don’t hesitate to reopen or create a new topic if you still
   need help! Thanks for understanding!.

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

The topic ‘Analytics code error’ is closed to new replies.

 * ![](https://ps.w.org/swift-performance-lite/assets/icon-256x256.jpg?rev=2388229)
 * [Swift Performance Lite](https://wordpress.org/plugins/swift-performance-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/swift-performance-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/swift-performance-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/swift-performance-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/swift-performance-lite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Fred](https://wordpress.org/support/users/fredawd/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-code-error/#post-11079576)
 * Status: resolved