I add one whistle pixel on shopify all vales are showing on thankyou page but the link id or click id showing null
how can i retrive these value
this code i use in checkout additional script
<script type="text/javascript">
function prepareFrame() {
var linkid = "{{ request.query_parameters['click_id'] }}";
var orderId = "{{ order.id }}";
var transaction_id = orderId;
var revenue = "{{ subtotal_price | money_without_currency }}"; // Use the subtotal price instead of the total price
var url = "https://utils.follow.whistle.mobi/pixel.php?linkid=" + linkid + "&transaction_id=" + transaction_id + "&revenue=" + revenue + "&goal_name=default";
console.log(url); // log the tracking pixel URL to the browser console
var ifrm = document.createElement("iframe");
ifrm.setAttribute("src", url);
ifrm.width = "1";
ifrm.height = "1";
ifrm.id = "pixelcodeurl";
document.body.appendChild(ifrm);
};
prepareFrame();
</script>