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
- Remove old Google Analytics code on a WordPress install
- How can I make a window.dataLayer.push for the Authors name to Google Tag Manager
- Google Analytics appending index.cfm to end of my URLs
- Sharebutton.to showing up as one of my pages
- Google Analytics – Language (not set) & Sharebutton.to
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Uncaught ReferenceError: ga is not defined
- WordPress Login Tracking Google Analytics
- Disable plugin / plugin action via theme
- Add Google Analytics manually, or use a plug-in?
- Make Google index the entire post if it is separated into several pages
- How can I enable Google Analytics on a file download link?
- Remove Google Fonts Which Are (Probably) Added By Plugins
- How to detect if a Shortcode is being called on a page?
- Pass custom fields values to Google Maps
- Analytics plugins that allow for inclusion of _trackPageLoadTime()?
- Feed 404 Errors
- Correct way to hide pseudo pages from being shown?
- Can I install Analytics before deciding on a theme?
- Can I integrate Google Analytics with my blog, hosted at wordpress.com?
- Need a WordPress Plugin for Google Analytics, Favicon, Meta Keywords & Description?
- Google Analytics post views in WordPress? [closed]
- how to hide specific post from google search
- Google saying is blocked by robots.txt without robots.txt on my website
- Is there a way to stop WP editor deleting
- Google Places API With ACF [closed]
- What type of Google tracking should I use?
- Tracking RSS subscribers in Google Analytics
- How to stop a 500 error on the WordPress theme folder
- My WordPress Blog sends malicious traffic to other sites [closed]
- wp_nav_menu google analytics event tracking
- How to make WordPress audio playlist understand the direct links of audio files shared on google drive?
- Suspicious google tag manager
- How to implement Google reCaptcha without installing a plugin?
- Tracking Disqus comments on Google Analytics
- Looking for a solution – slightly convoluted problem
- Custom Post for Locating by Google Maps API
- adding google event tracking to links in posts
- Show only IF not Google bot [closed]
- Unfamiliar query string in Google Search Console URL not found
- Can a plugin deactivate itself?
- Disallow author with robots.txt
- WordPress categories being called “archives” in google links. How to remove?
- Adding JSON Structured Data to WordPress
- 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
- Using google graph api with wordpress
- Add a hook to wp_mail() to track Google Analytics Event
- Is there a way to avoid 404 pages in WordPress?
- Free Google Analytics plugin that works with WordPress in network mode (WPMU)? [closed]
- google conversion code
- How to implement Google Tag Manager? [closed]
- Adding to fontawesome-webfont.woff2 to boost website speed
- Adding parent pages to posts
- media sideload image and Google Content
- Detect When User Reads Full Article? [closed]
- How Can I Add OnClick Event To A Specific WordPress Menu Link
- add most viewed post by google analytic in loop [closed]
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- For using google api is it necessary to install the google client libraries for using Oauth 2 in wordpress installation?
- WordPress Google Calendar Oath 404
- Block google maps from loading until user agrees to cookies with Elementor
- How To Fix 404 errors caused by Google Indexing WordPress In Subdirectory
- Sending click events to Google Analytics in WordPress: the easy way
- WP-Stateless: Multi Regional Vs Regional Storage
- Authorizing a plugin to call Google Analytics v4 API on wp_cron
- Google Adwords Tracking Code causing too many redirects error
- Add Adsense to a website but the server responds with error 510 [closed]
- Google Analytics tracking code on just one page?
- How to get an event to fire using Google Tag Manager for the wordpress audio player?
- How can I disable all external url Google in WordPress backend?
- Restrict access to content in conjunction with facebook connect & google login
- Google Apps SMTP for WP MultiSite?
- Excerpt formatting for Google News Feed [closed]
- Google maps .gm-style div now displays as block, thus breaking the map
- Google verification challenge with file location
- Rich Snippets for WordPress