<% extends 'layout.html' %>

<% block content %>
<div id="mailpoet_automation_analytics" class="woocommerce-page"></div>

<script type="text/javascript">
  var mailpoet_locale_full = <%= json_encode(locale_full) %>;
  var mailpoet_automation_api = <%= json_encode(api) %>;
  var mailpoet_json_api = <%= json_encode(jsonapi) %>;
  var mailpoet_automation_registry = <%= json_encode(registry) %>;
  var mailpoet_automation_context = <%= json_encode(context) %>;
  var mailpoet_automation = <%= automation ? json_encode(automation) : 'undefined' %>;
</script>
<% endblock %>

