Submit a ticket My Tickets
Login  Sign up


HTML assets gain access to the DMC API by defining a function called `run` against the `window` object. This function will be called by DMC just after the `load` event fires on the page, so must be defined outside of any `window.onload` callback. The first argument passed to this function is the `dmc` object. The function should have no other named arguments. = function (dmc) {
  // your code

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.