The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Jetpack by WordPress.com
[resolved] How to add Google Analytics code to Jetpack's mobile them? (3 posts)

  1. chetanbhasin777
    Posted 2 years ago #

    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?


  2. Jeremy Herve
    Jetpack Mechanic
    Plugin Author

    Posted 2 years ago #

    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:
    It will add the tracking code to all your pages, regardless of the theme.

  3. chetanbhasin777
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic