Tutorial Discussion: Implement Adobe Experience Cloud with Web SDK tutorial | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

14 replies

New Participant
August 18, 2024

Hi @dwright-adobe ,

 

Thank you for putting together the tutorial instructions. I have two observations: 

 

Observation 1: 

I am on the step to setup Audience Manager(AAM). I created the DataSource, Trait, Segment, and finally Destination. When I validate the segment if the setup is working as expected. I find "platform_web_sdk_tutorial" cookie is not set. 

The preview has no payload for the cookie. 

 

My observation is that, the tutorial step asks to setup "platform_web_sdk_tutorial"  as the cookie where as the cookie name  in the screenshot is "web_sdk_demo". I do see the data flowing into AAM. The screenshot of the segment is shared below but I don't see the cookie being set. 

 

 

Observation 2: 

Setup of Experience Platform  -   In the step of "Create a Loyalty schema and ingest sample data" " in addition to the two Field groups we need to add "Person Identifier" to add PersonID. Maybe the dictionary in XDM has changed.

 

 

 

 

 

 

 

PeggyWaiteBradley
New Participant
July 9, 2024

Hello again. I have another question that we are having problems getting help with. We have followed the instructions for updating the Target profile according to the documentation here:  https://experienceleague.adobe.com/en/docs/platform-learn/implement-web-sdk/applications-setup/setup-target#special-parameters-and-the-data-object. Here are the steps I took:

1. Verified that the data elements I needed for the profile were already created. 

2. Created a data element called data.content with the following custom code:

var data = {

   __adobe: {

      target: {

         "profile.utmCampaign": _satellite.getVar("UTM Campaign"),

         "profile.utmSource": _satellite.getVar("UTM Source"),

         "profile.utmMedium": _satellite.getVar("UTM Medium"),

         "profile.siteSection": _satellite.getVar("siteSectionCookie"),

         "profile.storeFront": _satellite.getVar("storeFront")

      }

   }

}

return data;

3. Added %data.content% to the Target rule:

4. Published the library. 

It has been weeks - but the only profile attribute that shows up in the Target UI is the siteSection - because it is keyed off a cookie. (I understand why the storeFront variable isn't working - as it is part of the data layer and this variable is not yet available on the page. I tried to solve for this by putting the data.content element in the analytics page view rule - but still get all the same results.) And even when I try to use that attribute - the audiences don't work. 

 

Secondly - I would like to delay saving the records until after the content paint. So I have tried to add "save": false to the end of my custom code in the data element - but it doesn't work. In the documentation it states: "After the content has been visualized, send the proper payload (including the eventToken and stateToken) for the corresponding attributes to be recorded." So I have sent a custom code event after the first send event with the following code (according to the documentation):

alloy("sendEvent", {
"renderDecisions": true,
"data": {
"__adobe": {
"target": {
"profile.utmCampaign": _satellite.getVar("UTM Campaign"),
"profile.utmSource": _satellite.getVar("UTM Source"),
"profile.utmMedium": _satellite.getVar("UTM Medium"),
"profile.siteSection": _satellite.getVar("siteSectionCookie"),
"profile.storeFront": _satellite.getVar("storeFront")
}
}
}
});

I can see this additional event in the debugger - but I still am not getting attributes in the Target UI and the siteSection attribute does not work when used for segmentation.

 

**I will note that I am using a staging URL in Target - and have quit pushing the changes to the rules up to prod. I have never had problems with testing profile attributes in a lower environment. And none of the documentation for the Web SDK says that rules have to be promoted to production in order to test.

PeggyWaiteBradley
New Participant
July 8, 2024

Hello! We are having an issue that I would like some clarity on. 

 

We enabled Adobe Target using the Web SDK following Adobe's instructions. (See link below) https://experienceleague.adobe.com/en/docs/platform-learn/implement-web-sdk/applications-setup/setup-target

The implementation does not use any customization (scopes, etc.). We are using the Guided Events option for the Target rule so that it fires at the top of the page. The A4T integration was already done prior to migrating to the Web SDK. A4T was used regularly with the previous implementation worked well. We can see that Server-side Analytics tracking is enabled in the logs and both Analytics and Target are enabled in the Datastream. (reference link below)

https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/personalization/adobe-target/a4t/server-side

However, no data is collecting in Target or Analytics. Every time we create an activity and test it/set it live - we get the same error: "We are having trouble retrieving data for this report. Please contact Adobe client-care if problem persists." 

We aren't sure what to do. I can see the SDID in the schema - but it isn't mapped to anything. I don't know if this is the problem. (And if it is - I don't know what to map it to. I have searched everywhere for documentation on how to map the fields in the Target fieldsets for the schema - but have come up short.) We have put in a ticket with client care - but are not getting anywhere. 

Any help is greatly appreciated!

Employee
July 9, 2024

Hi @peggywaitebradley ,

Hope you are well. So, you have two sendEvents on every page load? The first with "use guided events" and "request personalization" and the second with "use guided events" and "collect analytics"?

 

With this setup the Target data needed for A4T is returned from the first call's response and then included in the second calls request (i think the scopeDetails). Do you see that info getting passed in the second call? SDID is not used at all with A4T and Web SDK.

 

A dumb thing to check.... The report suite in the Target activity is definitely the same as the report suite used in the datastream (or any report suite override), right?

PeggyWaiteBradley
New Participant
July 9, 2024

Hi Daniel! 🙂 

I double checked and the report suite is the same in the datastream and the activity (good thing to know). 

Yes - the implementation has two rules. The "target rule" has the guided events/request personalization and the analytics rule has guided events/collect analytics. When I go to a page where an activity is running - I see two event calls. The first one is the decisioning proposition fetch. It looks like this:

 

The second event is the web.webPageDetails.pageViews event and it looks like this:

I do not see the scope details getting passed in the second call. 

Employee
May 22, 2024

Good day!
Is anyone monitoring this channel?  The last post was in 2022.

Employee
May 31, 2024

Hi, I monitor it. Will try to check in more often!

New Participant
February 14, 2024

Are there any specific things to take into consideration for HIPAA compliance when setting up WebSDK on your website? I understand all the data labels in the schema, and how Event Forwarding helps restrict data flow to other sources, but anything specific to ingesting the Web data initially into Edge?

Employee
May 31, 2024
New Participant
February 8, 2024

Hello,

Are there any recommendations on how to capture data in objects like device, environment, and place context using data elements? Most of the data I want to capture is not auto-populated.

 

Thanks

Employee
May 31, 2024

@dariotrabucco ,
Sorry for the slow reply. You can now autopopulate objects like device and environment details automatically via the datastream configuration. There are options there for "geolocation and network lookup" and "device lookup." See this page: of the documentation:
https://experienceleague.adobe.com/en/docs/experience-platform/datastreams/configure

New Participant
January 3, 2024

Hey @dwright-adobe ,

I just had a question regarding ingestion of the lumacrmid into the dataset. Once we login to the luma page,we get the lumacrmid which is mapped to the identity map but all other values land into the dataset except the identityMap which is empty. Have I made a mistake because I'm able to see identityMap value in the debugger but it's not flowing into the dataset.

Thanks in advance.
Regards
Sushmita.

Employee
January 3, 2024

Hi @sushmita32 ,

When you say "it's not flowing into the dataset" is this because it is not visible when you use Preview Dataset in the interface? If so, I wouldn't be concerned as that is just a limitation of Preview Dataset.

 

If the dataset is enabled for profile, I suggest looking up the profile using your ecid or crm id as described here: https://experienceleague.adobe.com/docs/platform-learn/implement-web-sdk/applications-setup/setup-experience-platform.html?lang=en#validate-a-profile

 

Another validation option is to use query service to look up the record in the dataset.

New Participant
January 3, 2024

Hi @dwright-adobe ,

Thanks for your reply. I was actually looking up using preview dataset. I used the query service and I was able to view the data.
Thanks for your quick help.
Regards
Sushmita.

Franc_G
New Participant
October 23, 2023

hi guys, quick question - what are the advantages (and disadvantages) of implementing the web sdk manually (using alloy.js) vs via the the Web SDK tag extension  ? We use the Ensighten TMS, so probably will go with the manual installation, but I would want to know advantages and disadvantages of each method beforehand.

Thanks,

Franc

Employee
October 23, 2023

Hi @franc_g ,

Tags is our tag manager, so it just makes it easier to manage the library configurations, XDM fields (the name value pairs you are sending up), and your sendEvent actions. Overall, it just makes it easier to manage your Web SDK implementation. Of course, it doesn't do anything you can't do without your own javascript, it just saves a lot of time.

New Participant
June 22, 2023

Hi, I have an issue when i tried to valide a profile, my primary is false and i dont understand why...
Then when i try to find my profile by my lumacrmid i dont find anything...

Thx in advance !

 

New Participant
November 17, 2022

Hi @dwright-adobe 

Hope you are doing well!

 

I have few queries as follow regarding AEM migration to Cloud Services.

  • Do we need a new implementation of Launch to serve cloud our can our existing instance serve both the current on premises AEM and the new Cloud instance AEM?

  • any work necessary at the Launch level (or can aspects and rules be reused)?

  • time and direction to dev team as they rebuild components and templates on Cloud (net new)?

  • script placement/migration/duplication?

  • any audit/refactoring you would suggest doing as the cloud will be a blank slate and we won't have to carry technical debt?

Request you to help me with the above queries.

 

Thanks in Advance.

 

 

 

Employee
November 18, 2022

Hi,
AEM is outside the scope of the tutorial. My AEM colleagues have created some AEM-specific tags/Launch content located here: https://experienceleague.adobe.com/docs/experience-manager-learn/sites/integrations/experience-platform-launch/overview.html

 

I'm not too experienced in the AEM migrations from on-premise to Cloud, but in general, with any website, if the underlying domain name, URLs, and html/css/javascript are the same the Launch property would continue to work, regardless of the backend generating the website. However, if things do change in the front end code of the site, you probably will need to update rules and such. If you self-host the libraries in AEM, you will also need to configure that in the AEM Cloud Service. You should definitely test everything thoroughly and you can always copy your existing Launch property and safely update the copy for the new site.

 

Again, this thread is dedicated to a tutorial which doesn't involve AEM at all and I have no experience migrating from on-prem to AEM as a cloud Service. My experience is limited to configuring the Launch Cloud Service in AEM on-prem instances.