Expand my Community achievements bar.

SOLVED

<noscript> Dynamically generate a random number in the image URL path

Avatar

Level 2

Hi all,

I would like to use a <noscript> tag to track mobile usage of my non-mobile web site.

The guidelines mention generating a random number.  Does anyone know where and how this can be done using a <noscript> tag?

Can anyone also explain where the H.5--WAP section below would come from? Is it meant to be hardcoded or generated as with the random number?

<img src="http://rsid.112.2O7.net/b/ss/rsid/5/H.5--WAP/12345?pageName=" />.

Thanks in advance for any assistance.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi, 

The random number is generated from the server side. You could generate the random number using a server side code base such as PHP.

Thanks.

TM

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi, 

The random number is generated from the server side. You could generate the random number using a server side code base such as PHP.

Thanks.

TM

Avatar

Level 2

Thanks for the reply.  That is exactly what I have now finally done and it works brilliantly.  

$random=mt_rand(100000,999999);