The Digital Store: Technology Is Enabling the Human Connection
12/1/2017
To succeed with modern consumers, apparel retailers must look to future-forward technology to enhance — but not replace — the human touch in the store experience.
\n
","alternateLabel":"Exclusive Report","whitePaperDocument":"/secure-file/27677","teaserImage":{"id":17638,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/shutterstock_526745899%20TEASER.png?itok=RJVcyu7e","width":600,"alt":"To succeed with modern consumers, apparel retailers must look to future-forward technology to enhance — but not replace — the human touch in the store experience.","height":400},"heroImage":{"id":12421,"url":"https://assets1.risnews.com/styles/hero/s3/shutterstock_526745899%20TEASER.jpg?itok=m49yCxep","alt":"To succeed with modern consumers, apparel retailers must look to future-forward technology to enhance — but not replace — the human touch in the store experience.","width":1400,"height":630},"heroImageSrcset":{"src":"https://assets1.risnews.com/styles/content_hero_480/s3/shutterstock_526745899%20TEASER.jpg?itok=g4OkkmCk 480w, https://assets1.risnews.com/styles/content_hero_640/s3/shutterstock_526745899%20TEASER.jpg?itok=NoRYvXJ- 640w, https://assets1.risnews.com/styles/content_hero_800/s3/shutterstock_526745899%20TEASER.jpg?itok=rK4Z2nOZ 800w, https://assets1.risnews.com/styles/content_hero_960/s3/shutterstock_526745899%20TEASER.jpg?itok=97YTCF5f 960w, https://assets1.risnews.com/styles/content_hero_1120/s3/shutterstock_526745899%20TEASER.jpg?itok=gN77bRAh 1120w, https://assets1.risnews.com/styles/content_hero_1300/s3/shutterstock_526745899%20TEASER.jpg?itok=6y83bzR- 1300w","sizes":"(min-width: 1300px) 1300px, 100vw"},"sponsored":false,"sponsorship":{"overrideAds":null},"businessTopic":[],"contentType":[],"company":[],"marketSegment":[],"topics":[{"id":547,"name":"Apparel","url":"/apparel"},{"id":548,"name":"Apparel Research And Reports","url":"/apparel/research-reports"}]}; const country = "US"; const language = "en-US,en;q=0.5"; const SITE_LANGUAGE = "en"; const siteName = "RIS News"; const userRoles = ["anonymous"]; const userUid = 0; const indexName = "risnews"; window.dataLayer = window.dataLayer || []; const data = {}; data.entityTaxonomy = {}; const contentTypes = [ "article", "blog", "bulletin", "embed_page", "landing_page", "event", "image", "page", "product", "whitepaper", "video", "tags", ]; if ( routeInfo && "bundle" in routeInfo && contentTypes.includes(routeInfo["bundle"]) ) { data.entityBundle = routeInfo.bundle; data.entityTitle = `${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 toxonomy 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); } })();To succeed with modern consumers, apparel retailers must look to future-forward technology to enhance — but not replace — the human touch in the store experience.