at.js version 2.11.5 (August 14, 2024)
- Implemented caching for cookie read and write operations to reduce the overhead of repeated, costly string parsing and manipulation.
- Implemented the newer URL Search Params API when available, as it is faster than manually parsing and manipulating strings.
at.js version 2.11.4 (January 24, 2024)
- Updated at.js to prevent invalid geo data from being sent to the Delivery API.
at.js version 2.11.3 (November 21, 2023)
- Fixed an issue that prevented response tokens from being sent on
at-content-rendering-failed
events.
at.js version 2.11.2 (October 26, 2023)
- Fixed an issue that caused inconsistencies in response tokens sent on custom events.
at.js version 2.11.1 (October 13, 2023)
- Fixed an issue that caused uncaught errors while a page running at.js is in quirks mode.
at.js version 2.11.0 (October 10, 2023)
- Added support for setting custom Adobe Experience Platform (AEP)
sandboxId
andsandboxName
intargetGlobalSettings
, which is passed to the Delivery API ongetOffer/getOffers
calls. - Shadow DOM fix for chaining
:eq()
in selectors.
at.js version 2.10.3 (September 12, 2023)
- Fixed an issue that incorrectly triggered the
at-content-rendering-succeeded
custom event when no offers are rendered. The correct event,at-content-rendering-no-offers
, is now triggered. - Added
eventToken
andresponseTokens
to error object for theat-content-rendering-failed
custom event.
at.js version 2.10.2 (March 7, 2023)
- Fixed an issue that caused the
trackEvent
function to always return an error.
at.js version 2.10.1 (February 2, 2023)
- Fixed a bug in which activities involving audience rules containing parameters with dots in their names were not returning the expected experience, for on-device decisioning.
- Fixed a bug introduced in at.js 2.6.0 in which at.js was firing a delivery call, even when mboxDisable was enabled.
at.js version 2.10.0 (September 19, 2022)
- Added third-party cookie support.
at.js version 2.9.0 (May 27, 2022)
- Added User Agent Client Hints support.
- Fixed a bug where multiple mbox requests on the same page have different impression IDs.
at.js version 2.8.1 (January 28, 2022)
- Fixed
pageLoad
not being mapped to target-global-mbox in On Device Decisioning (ODD) hybrid execution mode. - Fixed an issue with analytics details for mbox request.
- Upgraded dev dependencies to fix security vulnerabilities.
at.js version 2.8.0 (January 7, 2022)
The Target at.js JavaScript library now collects feature usage and performance telemetry data. Personal data is not collected. Opt-out for this feature is available by setting telemetryEnabled
to false in targetGlobalSettings
. For more information, see telemetryEnabled in targetGlobalSettings.
at.js version 2.7.0 (October 28, 2021)
This release contains the following enhancement:
- Added support for Web Components. This version of at.js is required to create and test personalized experiences and offers on custom elements and on elements inside custom elements. This functionality is included in the Target Standard/Premium 21.10.5 release.
at.js 1.8.3 (September 21, 2021)
This release contains the following changes:
- Removed the
reactor-window
andreactor-document
Adobe Experience Platform Launch modules to ensure that the Platform Launch build functions correctly for customers who havewindow.default
ordocument-default
set. - at.js 1.8.3 now explicitly sets
Samesite=None
andSecure
to ensure that third-party domain cookies are set properly.
at.js 2.6.1 (August 16, 2021)
- Bug fix for “No cached artifact available for hybrid mode” when using on-device decisioning.
at.js 2.6.0 (July 16, 2021)
- Added secure attribute to cookies whenever at.js settings
secureOnly
is set totrue
. - Response tokens are now available when using
triggerView()
. - Fixed an issue related to the
CONTENT_RENDERING_NO_OFFERS
event. Now this event is triggered correctly whenever there is no content returned from Target. - Analytics for Target (A4T) click metrics details are correctly returned when using
prefetch
requests. - UUID generation no longer uses
Math.random()
, but relies onwindow.crypto
. - The
sessionId
cookie expiry is correctly extended on every network call. - The Single Page Application (SPA) view cache initialization is now correctly handled and honors
viewsEnabled
settings. SettingviewsEnabled
to thefalse
value now disables thetriggerView()
function. See Order of operations for initial page load.
at.js 2.5.0 (May 13, 2021)
This release of at.js includes the following enhancements and changes:
- On-device decisioning support for at.js.
- Preview links support for Automated Personalization activities
This release also removes support for Microsoft Internet Explorer 10 and above versions.
at.js 2.4.1 (March 23, 2021)
This release of at.js is a maintenance release and includes the following enhancements and fixes:
- Fixed an issue with
targetPageParams
being included in mbox requests.targetPageParams
should be included inpageLoad
requests only. (TNT-40247) - Optimized window and document globals referencing in the Adobe Experience Platform extension. (TNT-37124)
at.js 2.4.0 (January 14, 2021)
This release of at.js is a maintenance release and includes the following fixes:
- Adds support for unified profile/platform id to Delivery API customerIds.
- Fixes invalid style tag injection.
at.js 2.3.3 (November 13, 2020)
This release of at.js is a maintenance release and includes the following fix:
- Fixed an issue related to mbox click tracking and A4T. With 0n-click, Target fired a Delivery API call with the correct mbox and mbox parameters. However, the SDID did not match the one in the Analytics call, hence there was no hit stitching and conversion. (TNT-38372)
at.js 2.3.2 (July 24, 2020)
This release of at.js is a maintenance release and includes the following fix:
- Fixed a bug when a script or code adds default property to the window or document.
at.js 1.8.2 (June 15, 2020)
This release of at.js is a maintenance release and includes the following fix:
- Fixed an issue when using CNAME and edge override, at.js 1.x might incorrectly create the server domain, which resulted in the Target request failing. (TNT-35064)
at.js 2.3.1 releases (June 15, 2020)
This release of at.js is a maintenance release and includes the following enhancements and fixes:
- Made the
deviceIdLifetime
setting overridable via targetGlobalSettings. (TNT-36349) - Fixed an issue when using CNAME and edge override, at.js 2.x might incorrectly create the server domain, which resulted in the Target request failing. (TNT-35065)
- Fixed an issue when using the Target extension v2 and the Adobe Analytics Launch extension, Target delayed the Analytics
sendBeacon
call. (TNT-36407, TNT-35990, TNT-36000)
at.js version 2.3.0 (March 25, 2020)
This release of at.js is a maintenance release and includes the following enhancements and fixes:
- Support setting Content Security Policy nonces on SCRIPT and STYLE tags appended to the page DOM when applying delivered Target offers. Customers can set
targetGlobalSettings.cspScriptNonce
andtargetGlobalSettings.cspStyleNonce
so that at.js can set the corresponding script and style tag nonces on applied offers. See targetGlobalSettings for more details. - Fixed an issue when compiling at.js with the Google Closure compiler for Google Tag Manager deployment.
- Renamed the at.js check cookie from
check
toat_check
in order to avoid collisions with customers’ implementations.
at.js version 1.8.1 (March 25, 2020)
This release of at.js is a maintenance release and includes the following enhancements and fixes:
- Renamed the at.js check cookie from
check
toat_check
in order to avoid collisions with customers’ implementations.
at.js version 2.2.0 (October 10, 2019)
This release of at.js includes the following enhancements and fixes:
- Fixed an issue in which click tracking did not report conversions in Analytics for Target (A4T) when Adobe Analytics code was not present on page elements.
- Improved performance when using both Experience Cloud ID Service (ECID) v4.4 and at.js 2.2 on your web pages.
- Previously, the ECID made two blocking calls before at.js could fetch experiences. This has been reduced to a single call, which significantly improves performance.
- Fixed incorrect prefetched view processing, where event tokens from default offers were not included in sent notifications.
- at.js version 2.2 also provides a new setting called
serverState
. This setting can be used to optimize page performance when a hybrid integration of Target is implemented. Hybrid integration means that you are using both at.js v2.2+ on the client-side and the Delivery API or a Target SDK on the server-side to deliver experiences.serverState
gives at.js v2.2+ the ability to apply experiences directly from content fetched on the server side and returned to the client as part of the page being served. For more information, see “serverState” in targetGlobalSettings.
at.js version 1.8.0 (October 10, 2019)
This release of at.js includes the following enhancements and fixes:
- Improved performance when using both Experience Cloud ID Service (ECID) v4.4 and at.js 1.8 on your web pages.
- Previously, the ECID made two blocking calls before at.js could fetch experiences. This has been reduced to a single call, which significantly improves performance.
at.js version 2.1.1 (July 24, 2019)
This release of at.js is a maintenance release and includes the following enhancements and fixes:
(The issue numbers in parentheses are for internal Adobe use.)
- Fixed an issue that caused multiple beacons to fire when using the Click Tracking metric on the Goals & Settings page in the Visual Experience Composer (VEC). (TNT-32812)
- Fixed an issue that caused
triggerView()
to not render offers more than once. (TNT-32780) - Fixed an issue with
triggerView()
to ensure that the request contains Marketing Cloud ID (MCID) information. (TNT-32776) - Fixed an issue that prevented the
triggerView()
notification to fire even if there are no saved views. (TNT-32614) - Fixed an issue that caused an error due to the use of decodeURIcomponent that caused issues when the URL contains a malformed query string parameter. (TNT-32710)
- The beacon flag is now set to “true” in the context of delivery requests sent via the
Navigator.sendBeacon()
API. (TNT-32683) - Fixed an issue that prevented Recommendations offers from displaying on websites for a few customers. Customers could see the offer content in the Delivery API call but the offer was not applied on the website. (TNT-32680)
- Fixed an issue that caused click-tracking across multiple experiences to not work as expected. (TNT-32644)
- Fixed an issue that prevented at.js from applying the second metric after the rendering of the first metric fails. (TNT-32628)
- Fixed an issue when passing
mbox3rdPartyId
using thetargetPageParams
function that caused the request payload to not be present in either the query parameters or in the request payload. (TNT-32613) - Fixed an issue that caused display and click notification responses to be blocked in Chromium-based browsers (including Google Chrome). (TNT-32290)
at.js version 2.1.0 (June 3, 2019)
This release includes the following features and enhancements:
-
Adobe Opt-in support: Adobe Opt-In is a way to simplify Adobe solutions integrations with consent management platforms. For more information about Adobe Opt-in, see Privacy and General Data Protection Regulation (GDPR).
-
Industry-standard CSP compliant: at.js no longer uses eval() to execute JavaScript.
-
Client-side analytics logging: Give customers full control on how they want to send analytics data to Adobe Analytics, whether on the client-side or server-side.
For more information, see Client-side Analytics logging.
-
Send notifications: Allow developers to send notifications when an experience is rendered by their code instead of using
applyOffer()
orapplyOffers()
.For more information, see adobe.target.sendNotifications(options).
-
at.js size reduced by ~24%: The size of at.js is reduced by ~24%. The smaller file size improves page load performance and reduces the time to download at.js on the page.
at.js version 2.0.1 (March 19, 2019)
This is a maintenance release and includes the following enhancements and fixes:
(The issue numbers in parentheses are for internal Adobe use.)
- Fixed a race condition in the DOM polling code that caused JavaScript exceptions for certain customers. (TNT-31869)
- Notifications that views were rendered have been decoupled from click-tracking event handlers. Initially, Target did not send notifications if click-event handlers belonging to a rendered view could not be attached. Target now sends a view notification even when click elements are not found. (TNT-31969)
- Fixed an issue that caused the request-succeeded event redirect flag to always be set to true. (TNT-31907)
- Fixed an issue that caused the VEC rearrange action to be logged as success, even when elements were missing. (TNT-31924)
- Fixed an issue that caused notifications for certain customers to not contain the Enterprise Permissions property token. (TNT-31999)
at.js version 1.7.1 (March 19, 2019)
This is a maintenance release and includes the following fix:
(The issue numbers in parentheses are for internal Adobe use.)
- Fixed a race condition in the DOM polling code that caused JavaScript exceptions for certain customers. (TNT-31869)
at.js Version 2.0.0
at.js 2.x provides rich feature sets that equip your business to execute personalization on next generation client-side technologies. This new version is focused on upgrading at.js to have harmonious interactions with single page applications (SPAs).
Here are some benefits of using at.js 2.x that are not available in previous versions:
- The ability to cache all offers on page load to reduce multiple server calls to a single server call.
- Tremendously improve your end-users’ experiences on your site because offers are shown immediately via the cache without any lag time that traditional server calls introduce.
- Simple one-line of code and one-time developer setup to enable your marketers to create and run A/B and Experience (XT) activities via the Visual Experience Composer (VEC) on your single page applications.
at.js 2.x introduces the following new functions:
- getOffers()
- applyOffers()
- triggerView()
The following functions have been deprecated with the introduction of at.js 2.x:
- mboxCreate()
- mboxDefine
- registerExtension()
For more information, see Upgrading from at.js 1.x to at.js 2.x and at.js functions.
at.js Version 1.7.0
at.js 1.7.0 brings Adobe Opt-In support. Adobe Opt-In is a way to simplify Adobe solutions integrations with consent management platforms.
For more information about Adobe Opt-in, see Privacy and General Data Protection Regulation (GDPR).
This release also fixes an issue where Target might override redirect URL parameters with parameters that are coming from the redirect URL.
at.js Version 1.6.4
at.js 1.6.4 is a maintenance release and addresses the following issue:
- Fixed a race condition manifesting in Microsoft Internet Explorer 11 that caused duplicate offers to be applied.
at.js Version 1.6.3
at.js version 1.6.3 includes the following fixes and enhancements:
- Selectors are now CSS-escaped if they contain IDs or CSS classes that start with a digit, two hyphens, or a hyphen followed by a digit (for example #-123). (TNT-31061)
- Fixed an issue introduced with at.js 1.6.2 where Visual Experience Composer (VEC) offers from different activities that apply to the same CSS selector did not respect activity priority. (TNT-31052)
- Fixed an issue with timing out a promise in environments where there was no native support for promises. (TNT-30974)
- Issues are now correctly captured and reported via the content-rendering failed event. Previously, JavaScript might have been reported to have run successfully, even if that wasn’t the case. (TNT-30599)
at.js Version 1.6.2
This is a maintenance release and addresses the following issue:
- Fixed an issue that on some customer sites lead to an infinite “async” loop.
Here are the enhancements and fixes that were included in at.js Version 1.6.1:
- Fixed an issue in at.js 1.6.0 that caused recommendations experiences to be duplicated in Microsoft Internet Explorer 11. (TNT-30593)
- at.js now ensures that the edge override logic checks for the existence of an edge cluster cookie to avoid a different edge number if a user hops edges during a session. (TNT-30563)
- Fixed an issue that prevented at.js from executing subsequent actions if the HTML content contained invalid JS code. at.js now logs the error and renders the remaining actions without issue. (TNT-30546)
- Made changes so that there is an exception when a redirect page re-qualifies for a redirect activity. (TNT-30532)
- Fixed an issue that prevented the correct request timeout being propagated from the getOffer() API request. (TNT-30498)
- Fixed an issue that prevented at.js 1.6.0 from saving cookies when using file protocol. (TNT-30454)
- Fixed an issue that made it appear that not all experiences were being delivered with redirects when using Analytics for Target (A4T). (TNT-30444)
- Fixed an issue that caused the page to be hidden after the Target call succeeds. (TNT-30358)
Here are the enhancements and fixes that were included in at.js Version 1.6.0:
- Redirect offers are now automatically supported in the Analytics for Target (A4T) integration. The client-side workaround has been removed. (TNT-30247)
- Client-side edge routing is now enabled by default. (TNT-30261)
- Fixed an issue with Visual Experience Composer (VEC) action rendering when there are dependencies between actions. (TNT-30248)