The reason why click variables are not part of the core extension for data elements in Adobe Launch is likely due to the fact that there are multiple ways to track and capture click information in web analytics. Some users may prefer to use custom code or other methods to track click information, while others may prefer to use data elements.
However, it is possible to create a custom data element that captures click information, including the click URL. Here's an example of how to create a custom data element for click URL:
Navigate to the "Data Elements" section of Adobe Launch and click "Add Data Element".
In the "Data Element Name" field, give the data element a descriptive name, such as "Click URL".
In the "Data Element Type" field, select "Custom Code".
In the "Code" field, enter the following JavaScript code:
function() {
return _satellite.getVar("clickURL");
}
Save the data element.
In your rule, set the value of the "clickURL" data element to the appropriate click URL using custom code, such as:
_satellite.setVar("clickURL", event.element.href);
Note that this is just one example of how to create a custom data element for click URL, and there may be other approaches that work better for your specific use case.