i integrate one whisle pixel on my shopify checkout additional script
<img src="https://utils.follow.whistle.mobi/pixel.php?linkid={click_id}&transaction_id={transaction_id}&revenue={revenue}&goal_name=default" width="1" height="1" />
on theme.liquid i put one code before the tag
<script type="text/javascript">
function prepareFrame() {
const urlParams = new URLSearchParams(window.location.search);
var click_id = urlParams.get("click_id");
var orderId = "{{ order.id }}";
var transaction_id = orderId;
var revenue = "{{ order.total_price | money_without_currency }}";
var url = "https://utils.follow.whistle.mobi/pixel.php?linkid=" + click_id + "&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>
but when i place a order and check on network i did not see any id that it was catch and i want how can i do this
How can i fix it
