Documentation

How to implement space's codes (1 - advanced)

Optimized space codes pasting in the site (Advanced)

This document explains how can the e-planning codes implementation be done in the most optimized way. To see a more basic way of implementation we suggest you to read this document.

Usually a space code has this format:

<!-- e-planning v3 - Comienzo space Site - Zone - Space -->
<script type="text/javascript" language="JavaScript1.1">
<!--
var rnd = (new String(Math.random())).substring(2,8) + (((new Date()).getTime()) & 262143);
document.write('<scri' + 'pt language="JavaScript1.1" type="text/javascript" src="http://ads.us.e-planning.net/eb/3/37af/357823df92533e0b?o=j&rnd=' + rnd + '"></scr' + 'ipt>');
// -->
</script>
<noscript><a
href="http://ads.us.e-planning.net/eb/3/37af/357823df92533e0b?it=i&rnd=$RANDOM"target="_blank"><img alt="e-planning.net ad" src="http://ads.us.e-planning.net/eb/3/37af/357823df92533e0b?o=i&rnd=$RANDOM" border=0></a></noscript>
<!-- e-planning v3 - Fin space Site - Zone - Space -->

This code belongs to a particular space, and must be pasted in the corresponding place of the html. The same must be done for each space or position of remaining banner.

The html of the site page will have a space code for each position of banner to show.

We recommend that instead of pasting the previous, you paste a code in the <head> that would be as the following:

For this code, the site_id variable is specific of the site and it can be obtained from the interface in any of the space codes from the site or our technical support can send it to you.

Then, in each position that a banner will be shown, you just have to paste a code similar to the following:

<script type="text/javascript" language="JavaScript">eplAD("<%= space_name %>");</script>

where the space name will be replaced for the corresponding id and that you will be able to obtain from the interface or ask us to send it to you. The code will be, for example, like this:

<script type="text/javascript" language="JavaScript">eplAD("232ad7808fde1eeb");</script>

Important:

If you want to use codes in which you can target for keywords, the codes will be like the following:

For the head:

In each position in which a banner will be shown, you just have to paste a code to like this one:

<script type="text/javascript" language="JavaScript">eplAD("<%= space_name %>", "kw_uid=<%= usuario_id %>&kw_sex=<%= sex %>&kw_age=<%= age %>);</script>

Example of how the code for each space is supposed to be:

<script type="text/javascript" language="JavaScript">eplAD("253ad7808fde1eeb", "kw_edad=25&kw_pais=colombia");</script>


» MORE INFORMATION

   ©1998-2015 Caraytech S.A. All rights reserved.