Expand my Community achievements bar.

Activity map tracking with webSDK

Avatar

Level 2

I want to migrate my Activty Map (AM) implementation to the webSDK. Currently I am setting the AM variables inside the s object like: 

 

s.ActivityMap.link = "value"
s.ActivityMap.regionIDAttribute = "other value"

 

How this behaviour is acchieved in the webSDK? I do not find any meaningful documentation.

 

Thank you very much.

Topics

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

1 Reply

Avatar

Employee Advisor

I think web.webInteraction.name would be equivalent to s.ActivityMap.link and web.webInteraction.region would be equivalent to s.ActivityMap.regionID.

If I enabled Activity Map in WebSDK, I see the following in my payload for activity map:

FarazHusain_1-1732624207901.png

Likewise, you can see the same web.webInteraction, so I think we can customize the above two to achieve the same behaviour. 

FarazHusain_0-1732624175631.png

But yes there isn't any document available for this. Not sure if someone has already tested this.