Release Notes, September 29, 2023
Hi all,
In this release, we have some new enhancements for ATS for Web to improve overall efficiency when you're working with ATS.
New
ATS for Web
Ability to handle getTCData function depreciation in ATS.js v1 and v2 library in preparation of IAB’s TCF v2.2 policy update.
New ATS.js event which will be fired when PAIR ID is stored in the browser: pairIdEnvelopePresent.
window.addEventListener("pairIdEnvelopePresent", async () => { const pairIdEnvelope = await ats.retrieveEnvelope(undefined, '_lr_pairId'); console.log("pairIdEnvelopePresent: ", JSON.parse(pairIdEnvelope).envelope); });
Improved
ATS for Web
We have made improvements to the U.S. GPP consent check to avoid the library failing in situations where;
GPP library is not loaded in time, that is, GPP is loaded after ATS.js.
The page will never load with GPP.
GPP library is wrongly implemented by relying on incorrect section prefixes.
Explanatory text for the 'Trigger' section texts within Facebook Conversions API's New Event screen.
Other types of identifiers will now be disabled as an option when Envelope is chosen as the type of identifier to be obtained.
To prevent users from entering full path URLs instead of query parameters, a validation check has been added to the input field labeled ‘URL Query Parameter’.
Fixed
ATS for Web
We have solved the issue with the triggerDetection()
function where it returns the value from the first detected input element regardless if the value is empty thus breaking the loop and not checking the values of the rest of the detected input elements.
ATS Analytics
We have fixed ‘TypeError’ errors on the Overview page.