<noscript> Dynamically generate a random number in the image URL path | Community
Skip to main content
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 1094 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by TanmayMathur

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

2 replies

TanmayMathur
Adobe Employee
TanmayMathurAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

lisa_tomsAuthor
Level 2
October 16, 2015

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

$random=mt_rand(100000,999999);