analytics.ejs 181 B

1234567
  1. <% var title = "" %>
  2. <% if(page.canonical_path == 'index.html') { title = "Landing Page" %>
  3. <% } else { title = page.title } %>
  4. <script>
  5. mixpanel.track("<%- title %>");
  6. </script>