Debubbing 3x Pageviews In Google Analytics
There seems to be something causing 3x the pageviews that are supposed to happen, Seems there is one universal analytics code sending page view and a global tag page view + other analytics code, thing is, there is no way to find said code inside the Wordpress to remove them. How would you search for this if it were you?
Here is the website (hid the url for privacy of the person, after the question was solved)
Answer
You need to look into your header.php to edit anything inside in Wordpress. This file is in Appearance -> Editor option. If you are new, I recommend you to back up your site first.
Also look into plugins that add headers and footers.
EDIT 1 - found one file in your root folder by the name of google_analytics_auto.js - this has old ga.js
EDIT 2 - second one is inside a plugin implementation named 'Above the fold optimization'. Link to the plugin this contains analytics.js
Related Questions
- → How to update data attribute on Ajax complete
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → Octobercms Component Unique id (Twig & Javascript)
- → Passing a JS var from AJAX response to Twig
- → Laravel {!! Form::open() !!} doesn't work within AngularJS
- → DropzoneJS & Laravel - Output form validation errors
- → Import statement and Babel
- → Uncaught TypeError: Cannot read property '__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' of undefined
- → React-router: Passing props to children
- → ListView.DataSource looping data for React Native
- → Can't test submit handler in React component
- → React + Flux - How to avoid global variable
- → Webpack, React & Babel, not rendering DOM