Extra event received from webSDK | Community
Skip to main content
June 14, 2023
Solved

Extra event received from webSDK

  • June 14, 2023
  • 2 replies
  • 797 views

I was trying to impement webSDK on an frontend, but i faced an issue that extra event with event type 

web.webinteraction.linkClicks were received. Anyone has any clue about that?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by adobechat

Hi @rexchen ,

Good try, I would say that implementing the Adobe Experience Platform Web SDK allows you to have a complete understanding of your user's interaction on your website. Sometimes, you may get extra events such as web.webinteraction.linkClicks which are generated due to the default configuration.

If you'd like to disable automatic link click collection, you need to set the clickCollectionEnabled property to false in your configuration, here is one way to doing it:-

alloy("configure", { "configId": "your-config-id", "imsOrgId": "your-org-id@AdobeOrg", "edgeDomain": "your-edge-domain", "clickCollectionEnabled": false });

Just replace your-config-id, your-org-id@AdobeOrg, and your-edge-domain with your actual values.

Remember, by setting clickCollectionEnabled to false, the SDK will no longer automatically send events for clicks on links or form submissions. If you want to manually send these events, you'll need to use the collect command.

All the best, hope this answers your question.

Thanks

Madhan

2 replies

RexChenAuthor
June 14, 2023

i need to disable this default feature by add this into configuration

"clickCollectionEnabled": false
adobechat
adobechatAccepted solution
June 14, 2023

Hi @rexchen ,

Good try, I would say that implementing the Adobe Experience Platform Web SDK allows you to have a complete understanding of your user's interaction on your website. Sometimes, you may get extra events such as web.webinteraction.linkClicks which are generated due to the default configuration.

If you'd like to disable automatic link click collection, you need to set the clickCollectionEnabled property to false in your configuration, here is one way to doing it:-

alloy("configure", { "configId": "your-config-id", "imsOrgId": "your-org-id@AdobeOrg", "edgeDomain": "your-edge-domain", "clickCollectionEnabled": false });

Just replace your-config-id, your-org-id@AdobeOrg, and your-edge-domain with your actual values.

Remember, by setting clickCollectionEnabled to false, the SDK will no longer automatically send events for clicks on links or form submissions. If you want to manually send these events, you'll need to use the collect command.

All the best, hope this answers your question.

Thanks

Madhan