Facebook traffic emulation (redirect)

Last update: 22 Квітня, 2023

Category: Redirect

Tags: .

<?php
$url = 'https://domain.com';
$url .= '?utm_source=facebook&utm_medium=social&utm_campaign=promo&fbclid=';
 function generateRandomString($length = 64) { return substr(str_shuffle(str_repeat($x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length/strlen($x)) )),1,$length); } 
$url .= generateRandomString();
?>

<script>
  window.setTimeout(window.location.href = "<?php echo $url; ?>", 0);
</script>