Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement for Analytics Tracking for Email Share functionality #1208

Open
skumuda opened this issue Dec 4, 2024 · 3 comments
Open

Enhancement for Analytics Tracking for Email Share functionality #1208

skumuda opened this issue Dec 4, 2024 · 3 comments

Comments

@skumuda
Copy link

skumuda commented Dec 4, 2024

Hi,

Can we add analytics tracking for share functionality in ASC?
Since analytics we use on all websites to track the user-data. I would request if we can add a query parameter at the end of url that gets shared over the email.

Solution:
Can we create a new tab 'Analytics' in E-mail Share modal dialog which is under /content/asset-share-commons/en/light/actions/share.html. Under Analytics tab create a new field 'Query Param'. This value will be picked and appended in assetLinkHTML for every link.

assetLinkHTML is getting generated in EmailShareServiceImpl in getAssetLinkListHtml() line number 168 where url is appended. Here we can add the query param value that comes from dialog.

It would be helpful if this can be achieved and provided as a part of ServicePack.

@davidjgonzalez
Copy link
Contributor

Hi @skumuda - if we set it at the Dialog level, this will set the same value for every share link -- is that what youre going for? You just want to know what Details page views are from shares vs navigating via search/bookmarks?

@skumuda
Copy link
Author

skumuda commented Dec 6, 2024

@davidjgonzalez Yes, same value should be passed for every share link. This is to track which assets are shared.

@skumuda
Copy link
Author

skumuda commented Dec 18, 2024

Hi @davidjgonzalez Please let me know your thoughts/suggestion on the above implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants