Hi,
I'm working on a tracking mechanism to a affiliate script and need a unique ID in my src.
I have the following code:
I need the uuidv()) function to be inserted into the src where it says VAR HERE - How the f... do i do that?
I'm working on a tracking mechanism to a affiliate script and need a unique ID in my src.
I have the following code:
Code
<script type="text/javascript">
function uuidv() {
return 'xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
});
}
document.write(uuidv());
</script>
<img src="https://www.partner-ads.com/dk/leadtrack.php?programid=xxxx&type=lead&uiv=VAR HERE" width=0 height=0 style="display:none">I need the uuidv()) function to be inserted into the src where it says VAR HERE - How the f... do i do that?
Your free online strength/weightloss and mental coach.
Hit me up for free advices.
Hit me up for free advices.


