get_aamCookie Código

Código exigido por DART Enterprise (e outros tipos de destino) para capturar o valor de ID de usuário exclusiva do Audience Manager (UUID).

Defina essa função na parte superior da página, idealmente no bloco de código <head>.

<script type="text/javascript">
function get_aamCookie (c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i<ARRcookies.length;i++)
   {
   x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
   y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
   x=x.replace(/^/s+|/s+$/g,?lang=pt-BR"");
   if (x==c_name)
      { 
      return unescape(y);
      }
   }
}
</script>

Nesta página

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now