What are Response Tokens and How Do I Use Them? | Adobe Target (2024)

DocumentationTargetTarget Guide

Last update: Fri Oct 06 2023 00:00:00 GMT+0000 (Coordinated Universal Time)

  • Topics:

CREATED FOR:

  • Admin

Response tokens let you automatically output information specific to Adobe Target to your brand’s web page. This information can include details about the activity, offer, experience, user profile, geo information, and more. These details provide extra response data to share with internal or 3rd-party tools or to use for debugging.

Response tokens let you choose which variables (in key value pairs) to use and then enable them to be sent as part of a Target response. You enable a variable using the switch and the variable is sent with Target responses, which can be validated in network calls. Response tokens also work in Preview mode.

A key difference between plug-ins and response tokens is that plug-ins deliver JavaScript to the page that executes upon delivery. Response tokens, however, deliver an object that can then be read and acted upon using event listeners. The response token approach is safer and allows for easier development and maintenance of 3rd-party integrations.

Target SDK

Suggested actions

Adobe Experience Platform Web SDK

Ensure that you are using Platform Web SDK version 2.6.0 or later. For information about downloading the latest version of Platform Web SDK, see Install the SDK in the Platform Web SDK overview guide. For information about new functionality in each version of the Platform Web SDK, see Release notes in the Platform Web SDK overview guide.

at.js

Ensure that you are using at.js version 1.1 or later. For information about downloading the latest version of at.js, see Download at.js. For information about new functionality in each version of at.js, see at.js Version Details.
Customers using at.js are encouraged to use response tokens and move away from plugins. Some plugins that rely on internal methods that existed in mbox.js (now deprecated), but not in at.js, are delivered but fail.

Listen for responses and read response tokens

The process you use to listen for Target responses and read response tokens differs depending on whether you have a Platform Web SDK or at.js implementation.

What are Response Tokens and How Do I Use Them? | Adobe Target (1) Platform Web SDK using the Handle object class platform-web-sdk

Use the Handle object class, which has a meta data object and a data object to listen for Target responses and read the response tokens.

The following response example adds a Platform Web SDK custom event handler directly to the HTML page (the table explains objects used in the code):

Type – Personalization.decision

Whether the decision was made by the Target or Offer Decisioning provider.

DecisionProvider – TGT

TGT-Target. Target provides the response token metadata and values to the page.

Meta

Metadata that is passed to the page.

Data

Values of the metadata passed to the page.

<html><head> ... <script src="alloy.js"></script> <script> { "requestId": "4d0a7cfd-952c-408c-b3b8-438edc38250a", "handle": [{ "type": "personalization:decisions", "payload": [{ "id": "....", "scope": "__view__", "scopeDetails": { "decisionProvider": "TGT", "activity": { "id": "..." }, "experience": { "id": "...." } }, "items": [{ "id": "123", "schema": "https://ns.adobe.com/personalization/dom-action", "meta": { "activity.id": "...", "activity.name": "...", "profile.foo": "...", "profile.bar": "..." }, "data": { "id": "123", "type": "setHtml", "selector": "#foo", "prehidingSelector": "#foo", "content": "<div>Hello world</div>" } }] }] }] } }); </script></head><body> ...</body></html>

What are Response Tokens and How Do I Use Them? | Adobe Target (2) at.js using custom events

Use at.js custom events to listen for the Target response and read the response tokens.

The following code sample adds an at.js custom event handler directly to the HTML page:

<html> <head> .... <script src="at.js"></script> <script> document.addEventListener(adobe.target.event.REQUEST_SUCCEEDED, function(e) { console.log("Request succeeded", e.detail); }); </script> <head> <body> ... </body></html>

Response token FAQs section_3DD5F32C668246289CDF9B4CDE1F536D

Which role is required to activate or deactivate response tokens?

Response tokens can be activated or deactivated only by users with the Target Administrator role.

What happens if I am running Platform Web SDK 2.6.0 (or earlier)?

You do not have access to response tokens.

What happens if I am running at.js 1.0 (or earlier)?

You see the response tokens, but at.js cannot use them.

Can I have both Target Classic plugins and response tokens active at the same time?

Plugins and response tokens are available in parallel; however, plugins will be deprecated in the future.

Are response tokens delivered through all Target responses or only through Target responses delivering an activity?

Response tokens are delivered only through Target responses delivering an activity.

My Target Classic plugin included JavaScript. How do I replicate its functionality using response tokens?

When migrating to response tokens, this type of JavaScript must be kept in your codebase or tag management solution. You can trigger this code using Platform Web SDK or at.js custom events and pass the response token values to your JavaScript functions.

Why does my profile/Customer Attributes parameter not display in the response tokens list?

Target normally refreshes parameters every 15 minutes. This refresh depends on user action and data is refreshed only when you view the response tokens page. If your parameters do not display in the response token list, Target has not yet refreshed the data.

Also, if your parameter contains anything but non-alphanumeric characters or any symbol other than underscores, the parameter does not appear in the list. Currently, only alphanumeric and underscore characters are supported.

Does the response token still deliver content if it uses a deleted profile script or a profile parameter?

Response tokens extract information from user profiles and then deliver that information. If you delete a profile script or parameter, that does not mean that the information has been removed from the user profiles. The user profiles still have data corresponding to the profile script. The response token continues delivering the content. For users that do not have that information saved in their profiles, or for new visitors, that token is not delivered because the data is not present in their profiles.

Target does not toggle off the token automatically. If you delete a profile script and no longer want the token to be delivered, you must toggle off the token yourself.

I renamed my profile script, but why is the token using that script still active with the old name?

As mentioned above, response tokens work on the profile information saved for users. Even though you renamed your profile script, users who have visited your website have the old profile script value saved in their profiles. The token continues to pick up the old value that is already saved in the user profiles. If you now want to deliver content on the new name, you must toggle off the previous token and toggle on the new token.

If my attributes have changed, when are they be removed from the list?

Target performs a refresh of attributes at regular intervals. Any attribute that is not toggled on is removed during the next refresh. However, if you have an attribute that was toggled on and has been removed, that script is not removed from the attribute list until you toggle it off. As an example, you removed a profile script that was used as a token. Target removes only the toggled-off attributes from the list when they are deleted or renamed.

What are Response Tokens and How Do I Use Them? | Adobe Target (2024)

FAQs

What are Response Tokens and How Do I Use Them? | Adobe Target? ›

Response tokens let you choose which variables (in key value pairs) to use and then enable them to be sent as part of a Target response. You enable a variable using the switch and the variable is sent with Target responses, which can be validated in network calls. Response tokens also work in Preview mode.

How does Adobe Target work? ›

Each time a visitor requests a page that has been optimized for Target, a request is sent to the targeting system. The request helps to determine what content to serve to that visitor. This process occurs in real time. Every time a page is loaded, a request for the content is made and fulfilled by the system.

What companies use Adobe Target? ›

Who uses Adobe Target?
CompanyWebsiteCountry
Druvadruva.comUnited States
Mohawk Industries, Inc.mohawkind.comUnited States
EPAM Systems Incepam.comUnited States
Globantglobant.comLuxembourg
1 more row

What is Adobe Target A/B testing? ›

A/B test your whole experience, including images, copy, UI, and more, to find the winning experience. The rigorous testing approach in Adobe Target is designed to test multiple variations across web, mobile app, IoT, and more on both the client and server sides.

What is the counting methodology in Adobe Target? ›

If Visits is used as the counting methodology, each unit is a unique visit defined as a unique participant in an experience during a Target session (with a unique sessionId ). When the sessionId changes, or the visitor reaches the conversion step, a new visit is counted.

How to access Adobe Target? ›

Access Target from the Adobe Experience Cloud
  1. Sign into the Adobe Experience Cloud.
  2. Click the App icon in the navigation bar, then click Target. ...
  3. (Optional) To set Target as your default view when you log in to the Experience Cloud, click Edit Profile under your profile avatar, then set your landing page preference.
Mar 13, 2022

What is the old name for Adobe Target? ›

Adobe Target, formerly Omniture Test&Target, is an online service from Adobe for testing web site design, content and navigation, as well as optimizing campaigns.

What data does Adobe Target collect? ›

Collection of IP addresses and Personally Identifiable Information (PII) The IP address of a visitor to your website is transmitted to an Adobe Data Processing Center (DPC). Depending on the network configuration for the visitor, the IP address does not necessarily represent the IP address of the visitor's computer.

How is the Adobe Target price? ›

Adobe has a consensus rating of Moderate Buy which is based on 22 buy ratings, 5 hold ratings and 2 sell ratings. The average price target for Adobe is $620.22. This is based on 29 Wall Streets Analysts 12-month price targets, issued in the past 3 months.

How do I know if Adobe Target is running? ›

Open the website you want to test in a browser, and then open the Platform Debugger extension. Select Target in the left navigation. If Platform Debugger detects that a compatible version of at. js is running on the site, Adobe Target implementation details are shown.

What is the difference between Adobe analytics and Adobe Target? ›

Online: While both Adobe Analytics and Adobe Target are primarily focused on online digital marketing, Adobe Analytics also supports the analysis of offline data. It allows marketers to combine data from online and offline channels, providing a holistic view of customer behavior.

Is Adobe Target good? ›

Adobe Target is a great and powerful testing and optimization platform with limitations in mobile space as it does not support flutter. Adobe Target's experience targeting, automated personalization and recommendation engine features are very powerful for personalization, test & target and decision making.

What is Adobe Target used for? ›

Adobe Target is the Adobe Experience Cloud solution that provides everything you need to tailor and personalize your customers' experiences. Target helps you maximize revenue on your web and mobile sites, apps, social media, and other digital channels.

How do I create an activity in Adobe Target? ›

To create Adobe Target Activities using Experience Fragment Offers, the following set-up must be completed:
  1. Add Adobe Target to your AEM web site.
  2. Trigger an Adobe Target call from tags.
  3. Integrate AEM Author service with Adobe Target.
  4. Export AEM Experience Fragments to Adobe Target.
May 13, 2024

How does Adobe Target recommendations work? ›

Adobe Target Recommendations activities automatically display products, services, or content that might interest your visitors based on previous user activity, preferences, or other criteria.

How does Adobe Target split traffic? ›

Based on the cookie values Adobe Target will qualify visitors into different buckets. Say all cookies ending with even number go to group A, all cookies ending with odd number go to group B. As you can imagine there are many ways in which you can achieve this.

How long is the Adobe Target session? ›

The session is active for 30 minutes on the server side. Therefore, you shouldn't use a different session Id for a particular tntId/thirdPartyId within 30 minutes of the last request made with the tntId/thirdPartyId . Otherwise, changes to the profile could be inconsistent and unpredictable.

What is the difference between Adobe Analytics and Adobe Target? ›

Online: While both Adobe Analytics and Adobe Target are primarily focused on online digital marketing, Adobe Analytics also supports the analysis of offline data. It allows marketers to combine data from online and offline channels, providing a holistic view of customer behavior.

Top Articles
Day Trading Computer Setup and Equipment
Top 5 Best Laptops for Stock Trading in India - 2024
jazmen00 x & jazmen00 mega| Discover
Froedtert Billing Phone Number
Math Playground Protractor
Hallowed Sepulchre Instances &amp; More
Synq3 Reviews
Shuiby aslam - ForeverMissed.com Online Memorials
Costco Gas Foster City
Alejos Hut Henderson Tx
NHS England » Winter and H2 priorities
使用 RHEL 8 时的注意事项 | Red Hat Product Documentation
Invert Clipping Mask Illustrator
Axe Throwing Milford Nh
MLB power rankings: Red-hot Chicago Cubs power into September, NL wild-card race
Busted Campbell County
Iroquois Amphitheater Louisville Ky Seating Chart
Wbiw Weather Watchers
Reborn Rich Kissasian
8005607994
Conscious Cloud Dispensary Photos
Hctc Speed Test
Cb2 South Coast Plaza
Meet the Characters of Disney’s ‘Moana’
New Stores Coming To Canton Ohio 2022
Kqelwaob
How to Use Craigslist (with Pictures) - wikiHow
Rays Salary Cap
25Cc To Tbsp
Dentist That Accept Horizon Nj Health
Siskiyou Co Craigslist
Myhrconnect Kp
Sitting Human Silhouette Demonologist
Roto-Rooter Plumbing and Drain Service hiring General Manager in Cincinnati Metropolitan Area | LinkedIn
Ljw Obits
Tal 3L Zeus Replacement Lid
拿到绿卡后一亩三分地
Boggle BrainBusters: Find 7 States | BOOMER Magazine
Page 5662 – Christianity Today
R Nba Fantasy
Admissions - New York Conservatory for Dramatic Arts
Google Chrome-webbrowser
Colorado Parks And Wildlife Reissue List
Tunica Inmate Roster Release
Jamesbonchai
Collision Masters Fairbanks
Gary Vandenheuvel Net Worth
Actress Zazie Crossword Clue
Pas Bcbs Prefix
Equinox Great Neck Class Schedule
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 5892

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.