• Resolved mono303

    (@mono303)


    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)
  • 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

    (@mono303)

    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

    (@satollo)

    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.