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?
- Sharebutton.to showing up as one of my pages
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- WordPress Login Tracking Google Analytics
- How to detect if a Shortcode is being called on a page?
- Analytics plugins that allow for inclusion of _trackPageLoadTime()?
- Correct way to hide pseudo pages from being shown?
- Can I install Analytics before deciding on a theme?
- Need a WordPress Plugin for Google Analytics, Favicon, Meta Keywords & Description?
- Google Places API With ACF [closed]
- Tracking RSS subscribers in Google Analytics
- How to stop a 500 error on the WordPress theme folder
- wp_nav_menu google analytics event tracking
- How to implement Google reCaptcha without installing a plugin?
- adding google event tracking to links in posts
- Using google graph api with wordpress
- Add a hook to wp_mail() to track Google Analytics Event
- google conversion code
- Adding to fontawesome-webfont.woff2 to boost website speed
- Adding parent pages to posts
- Detect When User Reads Full Article? [closed]
- add most viewed post by google analytic in loop [closed]
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- 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
- 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?
- Google verification challenge with file location
- Rich Snippets for WordPress
- Invalid plugin installation directory, Google Analytics [closed]
- Google Page Speed Insights – Optimize Images
- Code syntax error, “userfullName undefined”
- How to let authors only see website stats for their posts?
- Is there any way to put the Google Tag manager Identification code into the child theme?
- Stop wordpress from requesting external jquery from googleapi
- Where does MonsterInsights put Google Analytics code?
- Google disapproved Ads due to malware, but no malware in site? [closed]
- How to add post meta fields to an article’s as meta elements
- Google Apps Domain for WordPress
- Remove Page Timestamp via functions.php so it doesn’t show in Google Search Result Description [closed]
- Prevent search query from taking place when using Google CSE?
- Weird characters behind every single link and images
- Google Analytics on a staging site
- Woocommerce Checkout Page Total Price Inside Google Pay Script
- How to fetch csv file and show in shortcode
- Get the link title attribute and send it google analytics as custom label via google tag manager using beehive pro for WordPress
- Importing a Google Group to bbPress
- How to download finished WordPress project from Google Cloud?
- dynamic page not displaying correctly when Varnish hosting ignores query string parameters
- How to install WordPress from hosting service with mysql database from Compute Engine GCP?
- Google Analytics – add script to functions.php
- Google Maps for Woocommerce Checkout
- Store GA Client ID in User DB
- Google analytics not picking up custom post type
- Trying to add google ad onclick to wordpress and Divi buttons and header link
- Different function call depending on shortcode?
- Speeding up WordPress on a Local Network
- How to use google api for wordpress login
- adding google analytics via echo or between tags
- WordPress URL question
- Popular posts – based on pageviews
- Adding google authenticator and use only email address of user
- Tracking multiple tags or categories
- Analytics causes website to crash
- Google adsense stats plugin? [closed]
- How can I add a google play badge to my header and footer?
- Google analytics not working on WordPress
- Is there any way to ftp into wordpress if I paid for my own domain? I want to set up google analytics
- How to view the code for a certain page?
- Google Tag Manage – to use or not to use
- Tracking Total Pageviews By Post Type In Google Analytics
- Plugins menu not on dashboard
- I want to lists posts in wordpress to nearest location entered by the user
- How to improve WordPress website SEO and traffic, and or fix SEO issues