How adobe-marketing-cloud/target-experience-templates works
Project type and purpose
• This is an open-source “experience‐templates” toolkit for Adobe Target.
• It ships a set of static HTML/JS “templates” (banner carousels, lightboxes, ribbons, etc.) that marketers plug into Adobe Target’s Visual/Form Experience Composer.
File structure
• Top-level directories: one per template (e.g., banner-carousel‐thumbnails/, button/, lightbox‐exit‐intent/, ribbon/, etc.).
• Each directory contains:
• readme.md – usage/config instructions for that template
• template.html – the pre-coded snippet (markup + inline/linked script)
• Root readme.md describes the overall repo and lists all templates.
README for additional insights
• It emphasizes that these templates are static assets that require customization/integration with a webpage and Adobe Target.
Main components and interactions
a. Components
• Template Repository (GitHub) – hosts all template folders and readmes
• Developer/Marketer – clones or browses the repo to select a template
• Adobe Target Experience Composer – imports template.html, allows marketers to parameterize inputs (text, images, timing, etc.)
• Customer’s Web Application – the real target website where Adobe Target at.js is deployed
• End User Browser – executes the page + Adobe Target at.js + injected template code
b. Relationships & data flow
1. Developer pulls template from the GitHub repo.
2. Developer imports/upload template.html into Adobe Target Experience Composer.
3. At runtime, the End User’s browser loads the Web Application and at.js.
4. at.js queries Adobe Target servers for the active experience.
5. Adobe Target responds with the parameterized HTML/JS template.
6. The template code executes in the browser, manipulates the DOM (inserts a banner carousel, lightbox, ribbon, etc.).
c. Architectural patterns / design principles
• Static-asset repository: content is kept in flat folders, each template is standalone.
• Client-side injection via at.js (no backend services in this repo).
• Convention over configuration: each template follows the same folder structure.
d. Key technologies / frameworks
• HTML/CSS/JavaScript (vanilla snippet)
• Adobe Target at.js (client library loaded in the customer’s page)
• GitHub (source repo)
Mandatory elements
• Clear labels: “GitHub Repo,” “Developer,” “Adobe Target Composer,” “Customer Website,” “End User Browser,” etc.
– from Developer → GitHub Repo (clones or browses)
– from Developer → Adobe Target Composer (imports template)
– from Browser → Adobe Target Servers (at.js fetch)
– from Adobe Target Servers → Browser (response with template HTML)
– Repos & Dev tools (e.g., blue rectangles)
Detail
• Break out each template folder as a component in the repo layer (optional sub-component grouping).
• Template.html file as the “payload” delivered at runtime.
• Call out readme.md as “documentation/config reference.”