Support » Plugin: Jetpack by WordPress.com » How to add Google Analytics code to Jetpack's mobile them?

  • Resolved chetanbhasin777

    (@chetanbhasin777)


    Jetpack comes with a great analytics feature which I don’t say is bad. However, there are many people who still prefer Google analytics or any third party tool to analyze their traffic.

    I see no direct way in Jetpack to integrate mobile theme with Google Analytics which we can do in our own theme by adding the code to the footer?

    Is there any way to do this by editing the Jetpack code? Is there any possibility that Automattic will add such feature to Jetpack?

    http://wordpress.org/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    I would strongly recommend against editing the Jetpack code, as your changes would get overwritten next time you update Jetpack.

    I would also recommend against editing your theme files to add Google Analytics, since you want that tracking code to always appear regardless of the theme you’re using.

    Instead, you could use a Google Analytics like this one:
    http://wordpress.org/plugins/google-analytics-for-wordpress/
    It will add the tracking code to all your pages, regardless of the theme.

    Thanks for the suggestion. I will impliment yoast’s plugin on my website.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add Google Analytics code to Jetpack's mobile them?’ is closed to new replies.