Title: Specific Page Code Injection
Last modified: April 23, 2020

---

# Specific Page Code Injection

 *  Resolved [mono303](https://wordpress.org/support/users/mono303/)
 * (@mono303)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/specific-page-code-injection/)
 * Hi there! Its a great plugin you created. I need to inject code only on a specific(
   selected) page, not on all pages. Is there such option? I was not able to find
   that option. Im using WordPress 5.4.
 * Thanks

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

 *  [marciokoko](https://wordpress.org/support/users/marciokoko/)
 * (@marciokoko)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/specific-page-code-injection/#post-12809025)
 * Hi
 * Did you figure this out? Google Ads Conversion Tracker requires one code script
   for all pages’ head tag and another code script for the individual pages you 
   are wanting to track conversions for such as contact.
 *  Thread Starter [mono303](https://wordpress.org/support/users/mono303/)
 * (@mono303)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/specific-page-code-injection/#post-12809314)
 * Hi
 * Thanks for your reply. I still haven’t figured it out. I do want to track conversions
   for individual pages, like contact or thank you page. In order for me to track
   conversions, i need to insert a script or code on selected, individual pages 
   only. Current plug in does not have such option.
 * Is there a way to achieve this with your plugin? If not, it would be nice to 
   see this feature available in a new version, where user can select individual
   pages, that he want to inject the code on.
 * Looking forward to hear back from you with a possible solution.
 * Thanks
 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/specific-page-code-injection/#post-13119510)
 * I would be better to add that code in the specific page using the editor, alternatively
   you should use PHP, something like:
 * if ($post->ID == your_page_id) {
    // do something }
 * Stefano.

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

The topic ‘Specific Page Code Injection’ is closed to new replies.

 * ![](https://ps.w.org/header-footer/assets/icon-256x256.png?rev=3452717)
 * [Head, Footer and Post Injections](https://wordpress.org/plugins/header-footer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer/reviews/)

## Tags

 * [specific page](https://wordpress.org/support/topic-tag/specific-page/)

 * 3 replies
 * 3 participants
 * Last reply from: [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/specific-page-code-injection/#post-13119510)
 * Status: resolved