/
Ajax V4 for Mobile Devices

Ajax V4 for Mobile Devices



Ajax code detects when a device cannot show Flash (such as tablets or cell phones) and it displays a backup JPEG, GIF, or PNG version ad instead.

Additionally, if you would like to guarantee that all the devices can access the ad visualization (either through an image or Flash) when they do not support JavaScript, you can add the <noscript> part to them. Nowadays, there are only few devices which do not support JavaScript. Please note that this issue can be taken into account during the tags extraction, if required.

The implementation can be carried out with Zone’s Multiple Ajax V4 codes or with Space’s Ajax V4 codes.

Zone’s Multiple Ajax V4 Codes

The 2 parts of the code must be implemented.
- First, the extensive part (as soon as the <body> opens).
- After that, the calls of each space in the appropriate positions.

If the <noscript> is to be included: Before extracting the space’s call or script, you should select the “Add support for non Javascript browsers” option. The <noscript> code is added automatically.



Example of a space script with the nonscript addition:

<script type='text/javascript'>eplAD4M('Top_728x90');</script><noscript><a href='http://ads.eu.e-planning.net/ei/3/7b0/Actualidad/Top_728x90?it=i&rnd=$RANDOM' target='_blank'><img alt='e-planning.net ad' src='http://ads.eu.e-planning.net/eb/3/7b0/Actualidad/Top_728x90?o=i&rnd=$RANDOM' border=0></a></noscript>


Space’s Ajax V4 Codes

In case of using Ajax V4 per space and if you would like to take the <noscript> part into account, you should select the “Add support for non Javascript browsers” option in order to add the <noscript> code automatically. Then, you should extract and implement the complete code.

This applies both for the Ajax V4 and the Synchronous Ajax V4 codes.




Related articles:

Viewport Tag