Helper Methods

🚚 Moving to Dev Docs

Technical documentation is now hosted in our Developer Documentation. This article has already migrated; check it out there.

Ordergroove's offers library registers a global variable, og.offers, that contains a number of useful helper methods.

List:

  • addOptinChangedCallback
  • disableOptinChangedCallbacks
  • getOptins
  • initialize
  • setLocale