Title: AMP Analytics not saving
Last modified: October 17, 2016

---

# AMP Analytics not saving

 *  [Stijn](https://wordpress.org/support/users/stijnv/)
 * (@stijnv)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/amp-analytics-not-saving/)
 * In the tab Analytics there is a possibility to:
 * > Optionally add a valid google analytics tracking code.
 * When adding my tracking code, I notice it is not being saved. Each time the field
   is blank again. Am I the only one who has this problem?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [rmoro](https://wordpress.org/support/users/rmoro/)
 * (@rmoro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/amp-analytics-not-saving/#post-9073207)
 * I have the same issue. Any help?
 *  [rmoro](https://wordpress.org/support/users/rmoro/)
 * (@rmoro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/amp-analytics-not-saving/#post-9073706)
 * If you add large code, it works, like this: (with your track ID, obviously)
 *     ```
       <amp-analytics type="googleanalytics">
       <script type="application/json">
       {
             "vars": {
               "account": "UA-XXXXXXX-Y"
             },
             "triggers": {
               "trackPageview": {
                 "on": "visible",
                 "request": "pageview"
               }
             }
           }
       </script>
       </amp-analytics>
       ```
   
    -  This reply was modified 9 years, 1 month ago by [rmoro](https://wordpress.org/support/users/rmoro/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AMP Analytics not saving’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [rmoro](https://wordpress.org/support/users/rmoro/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/amp-analytics-not-saving/#post-9073706)
 * Status: not resolved