How to Write Custom JavaScript for a Specific Box

Digioh provides two types of Custom JavaScript. One is “Parent” and one is “Boxes”. Parent JS runs at time of Digioh initialization on each pageview and on all box events (display, submit, etc). Custom JS Boxes allows you to include and/or exclude specific boxes to run custom JS.

To include or exclude Custom JS, just add the Lightbox (“short”) IDs in.

Your Lightbox ID is the 6 Digit number next to your lightbox name on the “Boxes” table.