Skip to main content
Toggle navigation menu
日本語
한국어(대한민국)
简体中文
Contact us
Sign in
Search
Tracking link settings in Moloco Ads
How Moloco validates Adjust tracking links
How Moloco validates AppsFlyer tracking links
How Moloco validates Branch tracking links
How Moloco validates Singular tracking links
How Moloco validates Kochava tracking links
Available tracking link macros
<% if (style === 'banner') { %> <% var isOnBottom = locations.indexOf('home-top') === -1 && locations.indexOf('home-middle') === -1; %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } else if (style === 'boxed') { %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } else if (style === 'boxed-image') { %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } %>
<% categories.forEach(function(category) { %>
<% var categoryName = window.categoryNames && window.categoryNames.hasOwnProperty(category.name) ? window.categoryNames[category.name] : category.name %> <% if (category.id === activeCategoryId) { %>
<%= categoryName %>
<% } else { %>
<%= categoryName %>
<% } %> <% 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-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null; %> <% if (typeof maxArticles === 'undefined' || !maxArticles) maxArticles = 5; %> <% if (activeCategory && activeCategory.sections.length) { %>
Toggle navigation menu
<% activeCategory.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: 'section-' + section.id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
Show all articles
<% } %>
<% } %>
<% }); %>
<% } %>
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.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
See all articles
<% } %>
<% } %>
<% }); %>
<% } %>