Title: Google Search Console Connection Error After Using LS Cache Plugin
Last modified: April 5, 2023

---

# Google Search Console Connection Error After Using LS Cache Plugin

 *  Resolved [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * (@imgagan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/)
 * Hi, I’m having trouble connecting my website’s Google Search Console to Google
   Tag Manager. When I try to connect, I get an error message that says ‘The Google
   Tag Manager snippet on your site is in the wrong location on the page.’
   I’ve 
   checked and the snippet is correctly placed within the <head> section of my website’s
   code. I’ve also tried disabling other plugins and checking for conflicts with
   other scripts, but the issue persists.My website is created using OxygenBuilder
   on a VPS server. I used LSCache to improve the website performance. Any advice
   on how to resolve this issue would be greatly appreciated.
 * [View in group](https://www.facebook.com/groups/1626639680763454/?multi_permalinks=5996255147135197&__cft__[0]=AZU8NJltewAoI1y_FP0AI7jcO58dSL_GrBFBHZw6lqNaioaPMPKRI-4-LiVBxT5uoWgjSmMv5UkIgY29BD3mTkA2cPHJYLsp5Kbo5aB9-25iz8w_JjICs38mXtCYcBk0rmN50a3QO5mPkkwacbwwDDKCC6llm4So6nuJ4adVfIM9HtrZSTkd51gos8SFfxKDwRg&__tn__=]-R)
 * [Active](https://www.facebook.com/groups/1626639680763454/user/100008264283859/?__cft__[0]=AZWUC7u7T9OU3o1NKEI_RxL7TL4-FcA5C7zoB17N_X8qTRSBWSt6TZsMnm95-uld6tGxoGrEKruwdcNq0Oh9oOCxaQCOG04j-jYPzaViL44jghK5W46QomBEeIKHzAMnz9RTtjx6wNjh9H0zhePMld16&__tn__=%3C%2CP-R)

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

 *  [serpentdriver](https://wordpress.org/support/users/serpentdriver/)
 * (@serpentdriver)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16631480)
 * Did you enable delay for Javascript?
 *  Thread Starter [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * (@imgagan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16634270)
 * Hi thanks for your reply. Can you please suggest where I can make this?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16634532)
 * please provide the report number
 * you can get it in toolbox -> report -> click “send to LiteSpeed”
 *  Thread Starter [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * (@imgagan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16638073)
 * Report number: **GPOCTVHE**
 *  Thread Starter [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * (@imgagan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16650421)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/), no one has replied for
   a while. I’m waiting here hoping someone can help. Thank you!
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16650468)
 * please go to page optm -> tune setting -> there are three JS exclude list field,
   please add
 * `gtag`
 * and
 * `google`
 * into these three fields , save and purge all.
 *  Thread Starter [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * (@imgagan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16657037)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/) thanks for your help.
   I excluded gtag.js and google.js from all three suggested places: JS Excludes,
   JS Deferred / Delayed Excludes, and Guest Mode JS Excludes but it doesn’t seem
   to be working for me. Even I tried to add without .js (gtag and google) and purge
   couple of times but again it still not working.
 *  Thread Starter [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * (@imgagan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16675431)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/) I appreciate your help
   on my issue but it still not resolved, can you please help me further?

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

The topic ‘Google Search Console Connection Error After Using LS Cache Plugin’ is
closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [Google Search Console](https://wordpress.org/support/topic-tag/google-search-console/)

 * 8 replies
 * 3 participants
 * Last reply from: [Gagan Preet Singh](https://wordpress.org/support/users/imgagan/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/google-search-console-connection-error-after-using-ls-cache-plugin/#post-16675431)
 * Status: resolved