Title: Embedding non supported analytics code
Last modified: June 3, 2020

---

# Embedding non supported analytics code

 *  Resolved [ajtothec](https://wordpress.org/support/users/ajtothec/)
 * (@ajtothec)
 * [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/)
 * Hey guys,
    what’s the best way to embed a piece of code for an analytics tool
   that is not supported by the plugin yet. And thus can’t be embedded with a simple
   tracking ID. I was able to embed with advanced settings in header but screwed
   up AMP this way. When I edit the footer.php of the used theme for example the
   code isn’t showing up in frontend. Any advice would be appreciated. Thanks

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/#post-12937782)
 * Can you please share that “piece of code” which you want to embed?
 *  Thread Starter [ajtothec](https://wordpress.org/support/users/ajtothec/)
 * (@ajtothec)
 * [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/#post-12948588)
 * It’s like Clicky but from another provider:
    <script>var clicky_site_ids = clicky_site_ids
   || []; clicky_site_ids.push(17662);</script> <script async src=”//pmetrics.performancing.
   com/js”></script> <noscript><p>⌊Performancing Metrics⌉</p></noscript>
 * Adding site ID and selecting Clicky is not working in this case.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/#post-12959942)
 * The analytics you are using pmetrics. So please contact their team: pmetrics.
   performancing.com
 *  Thread Starter [ajtothec](https://wordpress.org/support/users/ajtothec/)
 * (@ajtothec)
 * [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/#post-12969280)
 * They are asking the same as me:
    Where can I put this code in the AMP theme without
   causing any damage? Why isn’t it working when adding to the footer or header.
   php as usual?
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/#post-12971694)
 * The code is for non-amp, and the javascript tracking is not possible. Whatever
   you added in non-amp that should be converted into AMP. In AMP, the analytics
   should be done using <amp-analytics> tag: [https://amp.dev/documentation/components/amp-analytics/](https://amp.dev/documentation/components/amp-analytics/)
   
   And also tell this about pmetrics team.

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

The topic ‘Embedding non supported analytics code’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/embedding-non-supported-analytics-code/#post-12971694)
 * Status: resolved