I'm currently struggling to capture the value of a click in my Javascript code and I could use some help understanding how to achieve this.
<span class="s-link">
<a class="s-link-pim-data" href="javascript:void(0);" target="_blank" title="Open in new window" onclick="$_retailerLocation('https://itrack.where-to-buy.co/wheretobuy/v1/WidgetClicks/?click=GUtc29uaWRvLXNhbXN1bmctaHctbTU1MHpmLTMxLWJsdWV0b290aC15LXN1Yndvb2Zlci1pbmFsYW1icmljbyUyRiZrZXk9NzcwNDRkMDRhY2JiNjZiYzM5Mjg4ZTI3ZjEyOWQ3NTAmY3VpZD17d3RiX2NsaWNrcmVmfQ%3D%3D&ct=True','ElCorteIngles.es');return false;">go</a>
</span>
In the provided code snippet, my goal is to extract the value "ElCorteIngles.es" after a click action.
Could the position of the value following a comma be advantageous for parsing?
If you have any suggestions on how to approach this issue, please share. I've dedicated four hours to troubleshooting without success.