Overview
If you would like to capture the specific protocol (HTTP vs HTTPS) that was used, you can add the below code snippet to the page source and then add the corresponding tag token in the Catchpoint App Properties page, as shown in the screenshot below.

What it does:
This code snippet identifies the protocol (HTTP or HTTPS) of the page the end-user visited via an if-else statement and sends the protocol info to Catchpoint with the Variation feature.
Code Snippet:
if (location.protocol == 'https:') {
var sec = "https";
} else {
var sec = "http"
}
RProfiler.addInfo('variation', sec);