HomeImplementation › Adobe Tags — data elements and rules

Adobe Tags — data elements and rules

Purpose: Manage analytics tracking without touching code.

Who this page is for

AudienceWhy it matters to you
ImplementersLearn the UI to deploy Tags
Analytics managersUnderstand tag management

Adobe Tags — data elements and rules

Adobe Tags (formerly DTM) is a tag manager that deploys Web SDK and other tools without code changes.

What is a tag manager?

A tag manager is code that runs on your website and can deploy other code (tags) based on rules you define.

Example: "If page name is 'Checkout', deploy the payment provider's code"

You define rules in a UI, publish them, and they take effect on your site. No developer needed.

Data elements

A data element is a reference to a value on your site.

Example data elements:

Once defined, you use data elements in rules.

Rules

A rule is an if-then statement:

If: [condition met] Then: [fire action]

Example rule:

Rules execute on page load or on specific events (click, scroll, timer, etc.).

Setting up Tags for Web SDK

  1. Install Web SDK extension

- In Tags, go to Extensions - Search for "Web SDK" - Install the official Adobe extension

  1. Configure Web SDK

- Set datastream ID - Set org ID - Configure any options (consent, debug, etc.)

  1. Create data elements

- Define Page Name → from data layer - Define User ID → from data layer - Define Form Type → from URL parameter

  1. Create rules

- Rule: All pages load - Action: Send page view event to Web SDK - Mapping: page name, user ID, etc.

- Rule: Form submission - Trigger: Form submit detected - Action: Send form event to Web SDK

  1. Publish

- Create library - Build to development - Test - Move to staging, then production

Example rule: track form submission

Name: Track Contact Form Submission

Trigger:

Conditions:

Action:

``json { "xdm": { "eventType": "form.submission", "web": { "webPageDetails": { "name": "Contact Form" } } } } ``

Benefits of Tags

When to use Tags vs direct Web SDK

Use Tags if:

Use direct Web SDK if:

---

Next: Reading legacy AppMeasurement ⚡ (elective)

Quick navigation