Expand my Community achievements bar.

SOLVED

clickCollection object - Web SDK

Avatar

Level 3

Hi, was looking at the adobe documentation and it says that clickCollection object is supported on Web SDK 2.25.0 or later. The latest alloy version is 2.21 based on the Releases · adobe/alloy (github.com). Does that mean that we can't set this obj and have to wait till 2.25.0 ? Could someone clarify please ?

Have tried to set this object and config file breaks. 

 

Link to the adobe documentation : clickCollection | Adobe Data Collection

1 Accepted Solution

Avatar

Correct answer by
Level 3

@bjoern__koth  got a reply from Adobe customer support:

 

According to our release notes web page it looks like the latest version for Adobe Experience Platform Web SDK is 2.21.1, while for the Web SDK extension latest version is 2.25.0. 

 

We think there might be a small mistake in the ClickCollection link, and the version 2.25.0 refers to the Web SDK extension or instead it should have been 2.21.1. We are waiting for a confirmation form the wider team, but for the time being please see the links below.  

 

[1]- https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/release-notes

[2]- https://experienceleague.adobe.com/en/docs/experience-platform/tags/extensions/client/web-sdk/web-sd...

 

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @Franc_G 

the github page seems slightly outdated.

I had a call with Adobe last week where the encouraged me to use the brand new ActivityMap for WebSDK.

Seems to work fine so far.

 

bjoern__koth_0-1721939851337.png

 

bjoern__koth_0-1721939962088.png

 

Like the other custom code blocks in the WebSDK, the "Edit filter click properties callback code" generates some comments, explaining how you can tweak the captured click data.

 

// Use this custom code block to adjust or filter click data. You can use the following variables:
// content.clickedElement: The DOM element that was clicked
// content.pageName: The page name when the click happened
// content.linkName: The name of the clicked link
// content.linkRegion: The region of the clicked link
// content.linkType: The type of link (typically exit, download, or other)
// content.linkUrl: The destination URL of the clicked link
// Return false to omit link data.

 

 

Note that this code block replaces the legacy "onBeforeLinkClickSend" custom code block and you will see a warning if both the old and new code blocks are declared.

NOTE: If you were using this old block, you will want to migrate the code to the new block to not lose any functionality.

 

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

bjoern__koth_0-1721940198720.png

 

Cheers from Switzerland!

Avatar

Level 3

@bjoern__koth thanks for the above. By any chance you have a link to the most up to date alloy github ? I am a little bit puzzled why in the doc 2.25.0 and above is mentioned.

 

 

Avatar

Community Advisor

Hi @Franc_G 

unfortunately not. Maybe someone from Adobe can help out here?

 

cheers

Cheers from Switzerland!

Avatar

Level 3

@bjoern__koth I did send an email to the adobe dedicated support, will share the details when I get the reply.

Avatar

Correct answer by
Level 3

@bjoern__koth  got a reply from Adobe customer support:

 

According to our release notes web page it looks like the latest version for Adobe Experience Platform Web SDK is 2.21.1, while for the Web SDK extension latest version is 2.25.0. 

 

We think there might be a small mistake in the ClickCollection link, and the version 2.25.0 refers to the Web SDK extension or instead it should have been 2.21.1. We are waiting for a confirmation form the wider team, but for the time being please see the links below.  

 

[1]- https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/release-notes

[2]- https://experienceleague.adobe.com/en/docs/experience-platform/tags/extensions/client/web-sdk/web-sd...