","showSummary":null,"url":"/apple-and-nike-introduce-smartwatch-runners","date":"2016-09-15T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":13832,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/fileaTTjIQ?itok=Xihx9V4y","width":190,"height":216,"alt":null},"topics":[{"name":"Product Innovation","url":"/product-innovation-0"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"}],"attachedFiles":[]},{"title":"Under Armour Partners with Dwayne Johnson","id":8740,"bundle":"article","summary":"Under Armour announces a global partnership with actor, producer Dwayne The Rock Johnson on content creation and promotions.","showSummary":null,"url":"/under-armour-partners-dwayne-johnson","date":"2016-02-03T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":13695,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/small_1.jpg?itok=4eSF1uIR","width":190,"height":216,"alt":null},"topics":[{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Sales & Marketing","url":"/sales-and-marketing"}],"attachedFiles":[]},{"title":"Elizabeth Arden and Perfect Corp. Partner on Digital Beauty Experience","id":8743,"bundle":"article","summary":"Perfect Corp. and Elizabeth Arden partner on a virtual makeup app that will feature a comprehensive assortment of Elizabeth Arden's cosmetics with the option to buy.","showSummary":null,"url":"/elizabeth-arden-and-perfect-corp-partner-digital-beauty-experience","date":"2016-02-02T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"E-commerce","url":"/e-commerce"},{"name":"Product Innovation","url":"/product-innovation-0"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Sales & Marketing","url":"/sales-and-marketing"}],"attachedFiles":[]},{"title":"Under Armour Unveils UA HealthBox","id":8803,"bundle":"article","summary":"HTC and Under Armour unveil UA HealthBox, a connected fitness system that measures, monitors, and manages the most important drivers of health and fitness sleep, fitness, activity and nutrition.","showSummary":null,"url":"/under-armour-unveils-ua-healthbox","date":"2016-01-05T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":13670,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/319175.jpg?itok=coWdXyjA","width":190,"height":216,"alt":null},"topics":[{"name":"Product Innovation","url":"/product-innovation-0"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Sales & Marketing","url":"/sales-and-marketing"}],"attachedFiles":[]},{"title":"Kellogg's Utilizes Mobile Apps ","id":9014,"bundle":"article","summary":"Kellogg's has successfully used mobile technology to improve visibility and measurement of its field sales activities and retail execution across the United States. Find out how the company is implementing and using the solution. ","showSummary":null,"url":"/kelloggs-utilizes-mobile-apps","date":"2015-09-23T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Sales & Marketing","url":"/sales-and-marketing"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Supply Chain","url":"/supply-chain"}],"attachedFiles":[]},{"title":"How DKNY Utilizes Instagram Direct ","id":9017,"bundle":"article","summary":"Find out how DKNY is using Instagram Direct to provide fans personalized content on how runway designs were conceived.","showSummary":null,"url":"/how-dkny-utilizes-instagram-direct","date":"2015-09-18T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":13616,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/imgres.jpg?itok=5q6Ub9jX","width":190,"height":216,"alt":null},"topics":[{"name":"Mobile Marketing","url":"/mobile-marketing"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Sales & Marketing","url":"/sales-and-marketing"},{"name":"Digital Marketing","url":"/digital-marketing"}],"attachedFiles":[]},{"title":"Target Piloting Beacon Technology at 50 Locations","id":9085,"bundle":"article","summary":"The retailing powerhouse is the latest to explore the still emerging technology with test markets throughout the U.S., with an eye toward a chain-wide roll out. ","showSummary":null,"url":"/target-piloting-beacon-technology-50-locations","date":"2015-08-12T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Product Innovation","url":"/product-innovation-0"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Sales & Marketing","url":"/sales-and-marketing"}],"attachedFiles":[]},{"title":"Nicole Miller Makes Instant Mobile Sales a Reality","id":9190,"bundle":"article","summary":"Shoppers of Nicole Miller fashionsable to buy straight from the designer's online store anytime, anywhere with just one touch.","showSummary":null,"url":"/nicole-miller-makes-instant-mobile-sales-reality","date":"2015-06-23T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"}],"attachedFiles":[]},{"title":"Domino's Unveils Tweet-a-Pizza","id":9288,"bundle":"article","summary":"Domino's Pizza revealed this week its customers will be able to order pizzaon Twitter by simply tweeting the pizza emoji to the retailer.
","showSummary":null,"url":"/dominos-unveils-tweet-pizza","date":"2015-05-15T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":13547,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/dominos-blippar-app-2.jpg?itok=d7pptCKT","width":190,"height":216,"alt":null},"topics":[{"name":"Sales & Marketing","url":"/sales-and-marketing"},{"name":"Mobile Marketing","url":"/mobile-marketing"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Mobile Applications","url":"/mobile-applications"},{"name":"Omnichannel","url":"/omnichannel"}],"attachedFiles":[]}]},"title":"Mobile Applications","contentParagraphs":null,"sections":null};
const country = "US";
const language = null;
const SITE_LANGUAGE = "en";
const siteName = "Consumer Goods Technology";
const userRoles = ["anonymous"];
const userUid = 0;
const indexName = "CG";
const title = "Mobile Applications | Consumer Goods Technology";
window.dataLayer = window.dataLayer || [];
const data = {};
data.entityTaxonomy = {};
const contentTypes = [
"article",
"blog",
"bulletin",
"embed_page",
"landing_page",
"event",
"image",
"page",
"product",
"whitepaper",
"video",
"tags",
"author_profile",
"buyers_guide_listing"
];
if (
routeInfo &&
"bundle" in routeInfo &&
contentTypes.includes(routeInfo["bundle"])
) {
data.entityBundle = routeInfo.bundle;
data.entityTitle = title || `${routeInfo.title} | ${siteName}`;
data.entityId = routeInfo.id;
data.entityName = routeInfo.author?.uname;
data.entityCreated = routeInfo.created;
data.sponsored = routeInfo.sponsored;
data.sponsor = routeInfo.sponsoringCompany;
data.entityType = "node";
data.entityLangcode = SITE_LANGUAGE;
data.siteName = siteName;
data.drupalLanguage = language;
data.drupalCountry = country;
data.userRoles = userRoles;
data.userUid = userUid;
data.entityTaxonomyKeys = {};
data.entityTaxonomyHierarchies = {};
data.parentNaicsCode = {};
data.isPro = false;
data.algoliaIndexName = indexName;
// Add taxonomy data
const taxonomies = {
businessTopic: "business_topic",
contentType: "content_type",
company: "company",
marketSegment: "market_segment",
};
const getHierarchy = (term, terms = []) => {
terms.push({ id: term.id, name: term.name });
if (term.parentTerm != null) {
getHierarchy(term.parentTerm, terms);
}
return terms;
};
const getTerms = (term, useApiId = false) => {
return { id: useApiId ? term.apiId : term.id, name: term.name };
};
const getKeys = (term) => {
return { id: term.id, name: term.apiId };
};
Object.entries(taxonomies).forEach(([key, item]) => {
terms = routeInfo[key];
if (terms && terms.length > 0) {
data["entityTaxonomy"][item] = terms.map((term) =>
getTerms(term, key === "company")
);
if (key !== "company") {
data["entityTaxonomyKeys"][item] = terms.map(getKeys);
termGroups = [];
terms.forEach((term, termInd) => {
termGroups[termInd] = getHierarchy(term);
});
data["entityTaxonomyHierarchies"][item] = termGroups;
}
}
});
data["entityTaxonomy"]["tags"] = routeInfo["topics"] || [];
// Primary Topic is either the business topic or the top tag.
if (routeInfo["businessTopic"]?.length > 0) {
data["entityPrimaryTopic"] = routeInfo["businessTopic"][0]["name"];
} else {
if (routeInfo["topics"]?.length > 0) {
data["entityPrimaryTopic"] = routeInfo["topics"][0]["name"];
}
}
// Primary and secondary entityNaicsCodes come from the MarketSegment
if (routeInfo.marketSegment?.length > 0) {
data.entityNaicsCode = {};
data["entityNaicsCode"]["id"] = routeInfo["marketSegment"][0]["id"];
data["entityNaicsCode"]["name"] =
routeInfo["marketSegment"][0]["naicsCode"];
if (routeInfo["marketSegment"][0]["parentTerm"] != null) {
data["parentNaicsCode"]["id"] =
routeInfo["marketSegment"][0]["parentTerm"]["id"];
data["parentNaicsCode"]["name"] =
routeInfo["marketSegment"][0]["parentTerm"]["naicsCode"];
}
} else {
data.entityNaicsCode = [];
}
if (routeInfo.taggedPro) {
data.isPro = routeInfo.taggedPro;
}
window.dataLayer.push(data);
} else if (routeInfo && "vid" in routeInfo) {
data.entityBundle = "tags";
data.entityTitle = routeInfo.name;
data.entityId = routeInfo.id;
data.entityName = routeInfo.author?.uname;
data.entityCreated = routeInfo.created;
data.entityType = "taxonomy_term";
data.entityLangcode = SITE_LANGUAGE;
data.siteName = siteName;
data.sponsored = routeInfo.sponsored;
data.sponsor = routeInfo.sponsoringCompany;
data.drupalLanguage = language;
data.drupalCountry = country;
data.userRoles = userRoles;
data.userUid = userUid;
data.algoliaIndexName = indexName;
data["entityTaxonomy"]["tags"] = {
id: routeInfo["id"],
name: routeInfo["name"],
};
window.dataLayer.push(data);
}
})();