Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
607 B
14
Indexable
Never
<script>
let url = new URL(window.location.href);
 
let params = new URLSearchParams(url.search);
 
let utm_source = params.get('utm_source');
let utm_medium = params.get('utm_medium');
let utm_campaign = params.get('utm_campaign'); 
let utm_term = params.get('utm_term');
let utm_content = params.get('utm_content'); 
let utm_id = params.get('utm_id');
 
document.getElementsByName('website')[0].value = utm_source + "; " + utm_medium + "; " + utm_campaign + "; " + utm_term + "; " + utm_content + "; " + utm_id;
 
document.querySelector('div[class*="inputs-website"]').style = "display: none;"
 
</script>
Leave a Comment