• Resolved Kilgore

    (@kilgore)


    Is there any way to exclude the insertion of the Pardot tracking code on selected WP pages via the plugin?

    If not, I’ll probably ditch the plugin and selectively enqueue the tracking code — especially since the plugin compat. testing has not kept up with the latest WordPress release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Cliff Seal

    (@cliffseal)

    Hey @kilgore,

    You’d be able to do this with code, but the best way to go about it depends on how many places you’d want the tracking code to appear vs. not. Depending on that, you’d either be excluding or including certain pieces of content. Can you shed some light there?

    The plugin has one known bug with the latest version of WordPress (related to the pop-up in the Visual Editor), but is otherwise compatible.

    Thread Starter Kilgore

    (@kilgore)

    So far the client has requested 3 of the ~240 pages to not be Pardot-tracked. I expect there may be a few more, but I mainly needed to exclude a few and include the rest.

    Since were only using the plugin to add the page tracking code, I ended up just removing the plugin and selectively enqueuing a .js containing the tracking code via the child-theme’s functions.php and that appears to be working fine.

    I’ll keep the plugin in-mind if we get deeper into Pardot integration now that I know it’s clearly and ongoing effort — and thank you for your quick and thoughtful reply!

    • This reply was modified 7 years, 1 month ago by Kilgore. Reason: Forgot to mark it as "resolved" ;o)
    Plugin Author Cliff Seal

    (@cliffseal)

    Sure thing! Glad to help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude selected pages?’ is closed to new replies.