","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":"CDO Club Names Starbucks 's Adam Brotman U.S. Chief Digital Officer of the Year 2015","id":9315,"bundle":"article","summary":"Adam Brotman, Starbucks Coffee Company's Chief Digital Officer, was named CDO Club's 2015 U.S. Chief Digital Officer of the Year. The CDO Club is a community of C-suite digital leaders with over 1,000 members. ","showSummary":null,"url":"/cdo-club-names-starbucks-s-adam-brotman-us-chief-digital-officer-year-2015","date":"2015-05-06T00: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 Marketing","url":"/mobile-marketing"},{"name":"Mobile Technology","url":"/mobile-technology"},{"name":"Sales & Marketing","url":"/sales-and-marketing"},{"name":"IT Integration","url":"/it-integration"}],"attachedFiles":[]},{"title":"Chobani Debuts New Products and Marketing","id":9548,"bundle":"article","summary":"Chobani announced its portfolio expansion and new marketing initiatives to continue its brand leadership and deliver better food for more people, including kids, healthy blends, and more.","showSummary":null,"url":"/chobani-debuts-new-products-and-marketing","date":"2015-01-21T00: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":13442,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/Chobani_cgt_01-21-15_0.jpg?itok=zkRFsMJf","width":190,"height":216,"alt":null},"topics":[{"name":"Mobile Marketing","url":"/mobile-marketing"},{"name":"Sales & Marketing","url":"/sales-and-marketing"}],"attachedFiles":[]},{"title":"Mobility Straight Talk","id":9642,"bundle":"whitepaper","url":"/mobility-straight-talk","date":"2014-11-17T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":"Root","lastName":"Man","bio":null,"title":null,"picture":null,"phone":null,"contactForm":true},"summary":"Leveraged in the right ways, mobile technology can lead to massive efficiency gains as well as sophisticated interactions with consumers. This edition of CGT Straight Talk taps the collective brainpower of industry thought leaders in the space to debunk crippling myths around mobility. ","body":"
Are misconceptions about mobile technology keeping your organization from realizing its full potential? Leveraged in the right ways, mobile can lead to massive efficiency gains as well as sophisticated interactions with consumers. This edition of CGT Straight Talk taps the collective brainpower of industry thought leaders in the space to debunk crippling myths around mobility.
","alternateLabel":null,"teaserImage":{"id":1875,"url":"https://assets1.consumergoods.com/styles/secondary_articles_short/s3/CGW_1114_StraightTalk_Teaser.jpg?itok=GOIRJqmY","width":196,"alt":"","height":216},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]}]},"title":"Mobile Marketing","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 Marketing | 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); } })();