Home Forums WoodMart support forum Add JS to 404 page

Add JS to 404 page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #410666

    ToriTori38
    Participant

    I need to track with a new tracking plugin when someone reaches our 404 page, and to do that I need to add some JS code to the 404 page.

    Can you tell me how I can add some code to the 404 page which will not be overwritten.
    Or is there a snippet I can use to target the 404 page, which I can ad my script to?

    #410670

    Mike
    Participant

    did you try to use this plugin: https://el.wordpress.org/plugins/code-snippets/
    you can load the js code wherever you want, page, post etc

    #410671

    ToriTori38
    Participant

    Many thanks

    #410766

    Hello,

    Alternatively, you would better contact the plugin that provides the code to get the correct instructions.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)