Expand my Community achievements bar.

Javascript Library SDK Integration Not working

Avatar

Level 2

Hi, I am new to AEP and Adobe Data Collection, I am trying to follow adobe documentation on Javascript Library Web SDK Integration.

Adobe learing link: Install the Web SDK using the JavaScript library | Adobe Data Collection

Application is simple html page, I have added main script inside header and config script at end of head tag.

I am able to see alloy object in website console, but i dont see any activities captured in datastream dataflow activity.

Please guide me to fix the issue am facing.

I created schema,dataset,datastream in "https://experience.adobe.com/" and used created datastream ID in script.

 

Attached "index.html" file where i added scripts.

Thanks,

Parvathi

 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Level 8

@ArunLa  after installation did you follow the configuration documentation 

https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/commands/configure/overview  

as configuration and mapping required as well 

Avatar

Adobe Champion

Usually for a (not-Launch/Tags) alloy implementation, I'd expect to see at least the following:
1. Reference to the Alloy file
2. The configuration of the Alloy instance
3. a sendEvent action. Without that, it's like you've built the road, but haven't put a car on it yet. 

When you do a sendEvent, you should be able to see the data being sent to Adobe by looking in your network tab- I usually filter by "/ee/". It should show you something like this:

Jennifer_Kunz_0-1726854511923.png


I see your alloy file and where you configured it, but I don't see any (uncommented) sendEvent. Clearly you tried it at some point- it's there, but commented out. When I tried uncommenting your sendEvent, I did see data being sent to Adobe in the network tab, but I also noticed some console errors, where it seemed unhappy with the Adobe OrgID and Datastream ID combo. I'd confirm that that datastream ID does belong with the Adobe Org ID.

https://digitaldatatactics.com/learningSite/alloy/ has an example of a working alloy deployment. The AEP Debugger extension is very helpful for troubleshooting, too- it gives you a lot more information than the network tab. 

Avatar

Administrator

@ArunLa Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni