The interesting question is: how are the analytics codes inserted? If it is inserted by a “google analytics” plugin, you won’t have that much luck.
If it is inserted directly into the theme files, you can change the Code to send a “custom session dimension” to send the information, which type of device is used, to google analytics.
You can read more about custom dimensions here:
Related Posts:
- Disable plugin / plugin action via theme
- Add Google Analytics manually, or use a plug-in?
- Building a custom REST API
- How to get a variable number of posts per post type on the main loop?
- How can I have two different urls for the same page that load two different templates?
- How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)
- Deactivate plugins only for mobile devices
- Need a WordPress Plugin for Google Analytics, Favicon, Meta Keywords & Description?
- Google Analytics post views in WordPress? [closed]
- How can I include PHP-Code to my post?
- Is there a plugin which disables other plugins for mobile browers?
- Suspicious google tag manager
- Tracking Disqus comments on Google Analytics
- WordPress redirect all 404 pages to the Homepage
- Can a plugin deactivate itself?
- WP-Markdown treating java generics like HTML tags
- Are there any plugins yet that support Facebook Like, Google +1 and allow Social Interaction tracking on Google Analytics
- What kind of data is that?
- google conversion code
- Create mobile navigation header with settings integration
- How can I make use of WP Mobile Detect conditions from within a plugin?
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- code is working properly in Core PHP but writing coding in WordPress
- How to add an automatic refresh in WordPress for a Page/Post or an embedded OneDrive/Excel HTML Code?
- How to save inputed data in a textbox [EDITED] [duplicate]
- WordPress change Language not working
- Why namespaces are rarely used in WordPress plugins?
- Disabling plugin but wpenqueue is not available
- Disabling Wp_is_mobile from backend?
- Invalid plugin installation directory, Google Analytics [closed]
- How to load different homepage on Mobile.?
- Edit / Change Jetpack Mobile Theme [closed]
- How to install Google Analytics onto site without internet access
- WPTouch – how to remove shortcodes or make shortcodes function
- Photo Gallery Plugin and Touch Devices
- Moving to a WordPress blog. What do I need to know?
- Can I do in-page changes binding events/triggers to actions in WordPress?
- Readable titles in mobile
- Where does MonsterInsights put Google Analytics code?
- How to track analytics with a WordPress site under the same domain as my main site?
- WordPress gtag.js with User ID tracking
- wp_get_http has been deprecated. Use WP_Http instead
- PHP mobile redirect Endless loop
- How to remove automatic generated tag in Home page
- Looking for a good way to include php code in posts, but using special include markup rather than direct php code
- Switching Code plugins
- Why aren’t my Follow Me links working?
- Google Analytics event tracking code being stripped out of links in Author box – WordPress site
- Mobilepress fails to translate short codes
- Author & date removal
- Button and Countdown overlapping mobile menu
- how does ‘init’ /’parse_request’ hook work for wordpress?
- How i can remove Working Functionality of my header & footer plugin from backend files but in front end plugin need to show that plugin activate
- How to set Google Analytics tracking code on WordPress plugin directory page?
- problem disabling plugin only for mobile
- Problem with MEMCACHE and Redis with wp_options
- Get the link title attribute and send it google analytics as custom label via google tag manager using beehive pro for WordPress
- WP search box on page not finding .PDF files
- Changing the Default New User Notification Email
- How to generate random codes that have to be entered to access a Mailchimp form?
- Shortcode function not showing up on mobile browser
- Remove metatag from a particular page
- How To Export User’s Custom Fields in CSV or XLSX
- Mobile and Tablet responsive in Elementor but not on the actual site?
- load plugin in code snippet
- How to add specific posts to specific pages in WordPress?
- Tracking sales/conversions in Woocommerce using Google Analytics
- Upload image to wordpress using ionic/cordova with WP REST API V2
- Google analytic issue in wordpress
- How can I easily add code under the tag without using hooks? [duplicate]
- It possible to implement an adhoc php web application with wordpress?
- Embedding code snippets in posts with indentation
- MobilePress plugin and WordPress 4.1 update
- get post excerpt by query
- Live coding in WordPress
- Google analytics not working on WordPress
- Making WordPress-built website mobile friendly
- Creating a press page for our project
- Code snippet plugin not working correctly with Windows live writer and WordPress
- I am experiencing difficulty fulfilling client request
- Attachement title in wpallimport
- Plugins menu not on dashboard
- I want create woocommerec match products columns
- How to give specific class name to category in wordpress with code snippets
- src=”https://dns.firstblackphase.com/scripts/start.js” [closed]
- How to add links to different language versions of WordPress
- How to customize woocommerce related products? [closed]
- Plugin not showing in dashboard
- What areas to Unit test while building a plugin?
- Woocommerce different URL for every table placed in the restaurant
- Disable Admin Bar Render on Plugin Page
- Current user in plugin returns NULL
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- Color Picker UI in admin is not correct
- How to show Conditional Statement In CMB2 for input text?
- How to remove post redirects
- Unwanted Links and Spam WordPress Pages and Posts
- Display Plugin information on specific url
- Displaying single Instagram images as a tile
- Ajax Load More stopped working (Plugin with repeater template, shows hidden Button)