Skip to main content
Toggle navigation menu
Service Status
Wishlist
Campus
Community
Submit a request
Sign in
In-App
Engage your users with Totango In-App’s interactive experiences.
Understand Totango In-App
Configure Totango In-App
Create an in-app experience
Use in-app segmentation
View experience metrics and settings
Customize experience steps
Customize a checklist experience
Customize an NPS experience
Variable syntax for content and links
Set up an environment pipeline
Define an experience goal
Deliver an experience using launch rules
Launch an experience from code
Launch a checklist from code
Run an A/B test for an experience
Customize screen sizes for an experience
<% var getColumnClasses = function(numberColumns) { var classNames = 'col-12 mb-4'; if (numberColumns >= 2) classNames += ' md:col-6'; if (numberColumns >= 3) classNames += ' lg:col-4'; if (numberColumns >= 4) classNames += ' xl:col-3'; return classNames; } %>
<% if (heading) { %>
<%= heading %>
<% } %>
<% blocks.forEach(function(block, index) { %>
<% } %>
<% if (block.name) { %>
<% if (block.html_url) { %>
<%= block.name %>
<% } else { %> <%= block.name %> <% } %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
<% categories.forEach(function(category) { %>
<% if (category.id === activeCategoryId) { %>
<%= category.name %>
<% } else { %>
<%= category.name %>
<% } %> <% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }); %>
<% } %>
<% }); %>
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-article-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var maxSections = 5 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>
<% var getColumnClasses = function(columnNumber) { var classNames = 'col-12'; if (columnNumber >= 2) classNames += ' md:col-6'; if (columnNumber >= 3) classNames += ' lg:col-4'; if (columnNumber >= 4) classNames += ' xl:col-3'; return classNames; } %> <% if (articles.length) { %>
<% articles.forEach(function(article) { %>
<% if (article.promoted) { %>
<% } else { %>
<% } %>
<%= article.title %>
<% }) %>
<% } %>