The reason is you are using HostGator and enable the feature is Google Analytics Integration, by enable this one, HostGator will automatically add this snipped of code into your main website and all of it sub or add-on domain:
<script src="https://wordpress.stackexchange.com/google_analytics_auto.js"></script></head>
I my self also faced with this issue, my main website is http://nguyenhuutrong.com and I got the above line of code when viewing source, I tried to have one fresh WordPress in my add-on domain, but it still be there. After I tried to install wordpress on my local (by using XAMPP) then I found out the root cause is Google Analytics Integration of HostGator.
You just going to cPanel, choose the Google Analytics Integration, at the configuration you just choose to uninstall the Google Analytics (UA) for your domain and it will work.
Related Posts:
- How to pass on Google Adwords gclid variable to other pages
- Track advertisement earnings per blog post and page in wordpress?
- Installing google analytics code on wordpress blog
- Tracking Published Date as Custom Variable for Google Analytics
- Google Tag Manger – no-script Code Not Found
- Tracking post type in Google Analytics
- Multiple Google Analytics codes for individual pages
- How to remove Google Analyticator in WordPress site?
- How to find and remove the tracking codes running in my wordpress site?
- What does /?s=free&cat=plus-5-results mean in Google Analytics?
- Add Google Tracker Tag to Login Page
- Google Analytics always shows at least two page views per visit – What can cause this?
- Multiple Google Analytics for Multiple pagepath
- Google Tag Manager only load when connected to Admin
- Cannot locate wp_footer() included scripts [closed]
- Allow authors to use their own Google Analytics code
- Download statistics for WordPress site?
- Google Analytics tracking article based on post date
- How do I add google tracking code to a wordpress.com site?
- Google Analytics Event Tracking not traking
- How to know email address of visitors to my wordpress website [closed]
- Save regarding to GDPR?
- Add google analytics tag manually after wordpress update
- Google Analytics appending index.cfm to end of my URLs
- Google Analytics – Language (not set) & Sharebutton.to
- Uncaught ReferenceError: ga is not defined
- Make Google index the entire post if it is separated into several pages
- Remove Google Fonts Which Are (Probably) Added By Plugins
- Feed 404 Errors
- Can I integrate Google Analytics with my blog, hosted at wordpress.com?
- Google Analytics post views in WordPress? [closed]
- how to hide specific post from google search
- How to make WordPress audio playlist understand the direct links of audio files shared on google drive?
- Looking for a solution – slightly convoluted problem
- Custom Post for Locating by Google Maps API
- Unfamiliar query string in Google Search Console URL not found
- Can a plugin deactivate itself?
- Disallow author with robots.txt
- Are there any plugins yet that support Facebook Like, Google +1 and allow Social Interaction tracking on Google Analytics
- wp_add_inline_script not adding when script_loader_tag filtered
- Free Google Analytics plugin that works with WordPress in network mode (WPMU)? [closed]
- How to implement Google Tag Manager? [closed]
- Adding parent pages to posts
- WordPress Google Calendar Oath 404
- Add Adsense to a website but the server responds with error 510 [closed]
- Google Analytics tracking code on just one page?
- Google maps .gm-style div now displays as block, thus breaking the map
- Is there a way to embed a Google Docs form in a page without using plugins?
- WordPress 404 errors for old plugin files via Google Bot
- Prioritize visible content – Page speed issue on Google insights
- How to install Google Analytics onto site without internet access
- Any idea why Google not caching my site? [closed]
- Google credentials and redirect URI for Google OAuth2 in a WordPress plugin, questions
- Gravity forms / Recaptcha / Autoptimize – somewhere it goes wrong
- How to track analytics with a WordPress site under the same domain as my main site?
- WordPress gtag.js with User ID tracking
- Getting 400 Error: redirect_uri_mismatch when trying to grant permission to Gmail SMTP plugin
- Old robots.txt file not changing, can’t update to the current robots.txt
- How to track wordpress sub folders html page in google ananlytics [closed]
- WP + Google analytics = /search?
- WordPress MultiSite Won’t Work on Google AppEngine
- What is the best way to revert to www version of domain name?
- Google Analytics event tracking code being stripped out of links in Author box – WordPress site
- how does ‘init’ /’parse_request’ hook work for wordpress?
- WordPress User Meta value variable into Google Gauge Chart
- WordPress site for increase SEO ranking in other e-commerce store
- Remove Noindex?
- How to add height and width to images on a page(using WP Bakery) to improve Google’s CLS score?
- Woocommerce + Google Analytics (Conversion Rate Not Working)
- How to set Google Analytics tracking code on WordPress plugin directory page?
- Google Web Core Vitals – management, how to in wordpress and advice
- Configure WordPress to Use Responsive Image Rendering
- Google Analytics gtag code messes up woocommerce cart & login
- How do I export categories, site stats, comments and posts from wordpress to excel
- When add analytics script, wordpress user login not working
- Different Google Analytics code based on Users Device
- How to avoid images appear as post in google search?
- Having a different landing page for returning users
- Unwanted word behind my title in SERP
- How find what plugins load google Font and block it
- How can I replicate this functionality on my site?
- Tracking sales/conversions in Woocommerce using Google Analytics
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- New accounts daily at WP Multi-User site under development, Analytics reports no traffic. What gives?
- Google flagged a wp-admin redirect as phishing
- How to non index my website page links?
- Google analytic issue in wordpress
- Google does not index data from custom table used for a plugin
- Querying latitude and longitude into google maps correctly
- How do I add a class to all sidebars to let a Google Custom Search Engine know not to index the content?
- How can I modify a post depending on the source of the traffic?
- Increase size of Google Document Site Wide [closed]
- Duplicate content with the same URL, google authorship
- Hiding Google Analytics code based on theme options
- Feed RSS problem on WordPress, need it for Google News
- Custom Registration and Login Forms with reCaptcha 2 Validation
- I had removed my phone number from my website footer, but months later it still appears once I look it up on google, how to remove it?
- No Google Analytics code rendered in the header?
- Problem with Google Page Speed because of custom font
- What’s the syntax for embedding a Goggle sheet in a shortcode?