• I am using the WPtouch plugin since November 20, 2010. This week I was analyzing my traffic through Google Analytics and I noticed, to my surprise, that since the day I started using the plugin I stopped seeing traffic from iPhone and Android users.

    When I analyzed further, I noticed that I do collect the data and that it is attributed to mobile, but for some reason I lost all information about the device and platform on Google Analytics, meaning I have a large bucket of users called “not set”, which includes all devices seeing the WPtouch version. You can check this by visiting the Device report on Google Analytics, on the sidebar click on the following: Audience => Mobile => Devices.

    I will be happy to provide any additional information if needed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • How is the Google Analytics script being injected on your main theme – is it a plugin, or did you add it to footer/header.php? Did you do anything to configure WPtouch to use the Google Analytics script as well?

    Thread Starter dwaisberg

    (@dwaisberg)

    We use the setting in the WPTouch plugin to add the GA code. On the main site, the GA code is in the header, added manually (not via plugin).

    Hi, I was googling a similar question and came across this post. I hope it is OK if I add on my own query.

    I have the asynchronous GA code (which I added manually) in header.php of my main theme. It is not clear to me whether I should add the same GA code in the WPTouch settings as well.

    At another site, I read the following suggestion. Do you recommend using this method? If not, please let me know what should be done. Thanks.

    If you have switched to the asynchronous Google analytics code, adding the Analytics code within the settings panel wont track your mobile viewers. This is because the plugin adds the analytics code just before the body tag while ideally, the newer Analytics code should be placed before the head tag.

    In that case, open wp-content/plugins/wp-touch/themes/core/core-header.php and add the newer analytics code before the head tag.

    syntaxfree,

    Since WPtouch loads its own theme when a mobile device is detected, it won’t “see” the GA code that is in the header of your desktop theme. So please add it in the WPtouch admin panel to make sure your mobile traffic is being tracked.

    dwaisberg,

    You can check this by visiting the Device report on Google Analytics, on the sidebar click on the following: Audience => Mobile => Devices.

    Please check in Visitors > Mobile > Mobile Devices and you should see mobile traffic stats there.

    Thread Starter dwaisberg

    (@dwaisberg)

    BraveNewCode,

    as I mentioned on the original post

    since the day I started using the plugin I stopped seeing traffic from iPhone and Android users.

    As a Google Analytics Certified Partner I know where to find this info, and it is not there. And it has been caused by WPtouch. Do you have any additional ideas on why WPtouch is overwriting my device parameter on Google Analytics?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WPtouch affecting Google Analytics Data Collection’ is closed to new replies.