Debug Button on
Mobile Web

Debug Button

If you're having trouble configuring the SDK or seeing your Button you can enable debug logging when you initiate your Button to see what's going on. To do so, set enableLogging to true when initiating Button. Your new JSON for initiating Button will look like this:

<script>
window.ButtonWebConfig = {
  applicationId: 'app-XXXXXXXXXXXXXXXX',
  enableLogging: true // I was added!
};
</script>

Note: You should not ship to production with this enabled.

If you can't figure out why your Button isn't working, contact us and send this token to our support team and we can then investigate why things aren't working as expected.