Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!

Tutorial Discussion: Migrate Target from at.js to Web SDK tutorial

Avatar

Employee Advisor

Use this thread to ask any questions related to the Migrate Target from at.js 2.x to Platform Web SDK tutorial on Experience League. Experts are monitoring this thread to ensure your questions are answered.

25 Replies

Avatar

Level 2

Hi @dwright ,

 

Here is my response:

 

  • Are you sure there is no issues with your feed? 
  • Are you able to see some records from your feed that are intact?
    • Yes, Initially when there is no corrupt feed update, all the product catalog looks good without loss of data, but as and when time passes and more mbox events flow in PDP, catalog starts getting updated with only entity.id retained rest is overwritten with blank value
  • Are you sure you have escaped the fields in your field that need to be escaped?
    • I am not 100% sure here if I understood this correctly, but here is what I have done, the field that are blank in feed I have left it with "blank space" as suggested in the above link, coz without blank space feed does not work while uploading. I think am missing the escaped part ? Can you elaborate more on this please. Also, I am confused because instead of corrupting all the fields it overrides all except entity.id.. and I see entityId as is.(Screenshot attached)

Avatar

Employee Advisor

Hi,

So, there are two main ways to populate the catalog:

  1. Feeds
  2. Page calls

When using feeds, the page calls on product pages should populate the entity.id as that is a valuable key to use for recommendations. But calls containing the entity.id would only overwrite or supplement what was in your feed if it contained values for other entities. If the page call passed the entity.id with the correct value and also entity.name with an empty string, that would be one way to overwrite the value from the feed. That would be an easy thing to rule out.

 

But also, check this. In the screenshot of your catalog entry the entity.id is "07675062185" but none of the entity.ids in your csv contain a leading zero. What do you see if you look up the catalog entry without the leading zero?

Another thing to check is your environments. Your csv contains "stage" values. Could it be that you are populating the catalog correctly in your Recs staging environment catalog, but you are looking up the entities in a different environment which is separate from the feed?

Avatar

Level 2

Hi @dwright 

 

From documentation and postings the below scenario is not clear to me, wondering if you can shed some light. 

Client has AA (appmeasurement) and AT.js and use A4T. 
The plan is to migrate AA to WebSDK using the data object in the first instance and keeping at.js. 
Will this impact the business ability to use A4T?

 

 

Avatar

Employee Advisor

Hi @GavinAttard ,

Thanks for writing. A4T is not supported in that scenario. 

 

The tutorial includes this language:
"Because Platform Web SDK combines and enables multiple Adobe applications, you must coordinate the Target migration of other Adobe applications like Analytics and Audience Manager. All Adobe libraries on a given page should be migrated at the same time. A mixed implementation of Platform Web SDK for Target and AppMeasurement for Analytics on a particular page is not supported. However, a mixed implementation across different pages is supported, for example Platform Web SDK on page A, and at.js with AppMeasurement on page B."
https://experienceleague.adobe.com/en/docs/platform-learn/migrate-target-to-websdk/plan-migration 

 

Because this tutorial is about migrating Target to Web SDK (and not migrating Analytics to Web SDK), it probably didn't occur to us to specifically point out the Web SDK for Analytics and at.js for Target scenario.