image image

Introduce your Birth Date

Seleccione um país

clear
array ( 'agefilter' => true, 'languages' => Session::get('rainlab.translate.locale'), 'contentcategory' => 'momentos-alhambra', 'crossdomainbrand' => 'alhambra', 'host' => 'cervezasalhambra.com', 'pagecanonical' => $this->pageUrl(''), 'pagecategorization' => 'momentos-alhambra>detalles-producto', 'pagecategory' => 'crearsinprisa', 'pagesubcategory' => 'obras', 'pagetitle' => $this->page->title, 'pagetype' => 'detalle obra', 'pageurl' => $this->pageUrl(''), 'path' => $this->page->url, 'userKruxId ' => '', 'userKruxAllSegments' => '' ), 'navigator' => array ( 'appcodename' => '', 'appname' => '', 'appversion' => '', 'cookieenabled' => true, 'language' => Session::get('rainlab.translate.locale'), ), 'Screen' => array ( ), 'userinfo' => array ( 'Referer' => ($_SERVER['HTTP_REFERER'] ?? ''), 'usercity' => '', 'userclientid' => '', 'usercontentbehaviour' => '', 'userdevice' => '', 'userip' => '', 'userlogin' => '', 'userpagesvisited' => '', 'userprovince' => '', 'userreturningvisitor' => true ), 'clientinfo' => array ( 'clientage' => ((!empty ($userData['fechaNacimiento'])) ? DateTime::createFromFormat('d/m/Y', $userData['fechaNacimiento'])->diff(new DateTime())->y : ''), 'clientcustomerid' => ($userData['idContacto'] ?? ''), 'clienthashedemail' => ((!empty ($userData['email'])) ? md5 ($userData['email']) : ''), 'clientInterest' => '' ), 'contentinfo' => array ( 'contentcategory' => 'momentos-alhambra', 'contentsubcategory' => 'obras', 'contenttitle' => $this->page->title, 'contenttype' => '' ), 'datautm' => array ( 'utmcontent' => ($_GET['utm_content'] ?? ''), 'utmmedium' => ($_GET['utm_medium'] ?? ''), 'utmcampaign' => ($_GET['utm_campaign'] ?? ''), 'utmsource' => ($_GET['utm_source'] ?? ''), 'utm_term' => ($_GET['utm_term'] ?? '') ), 'productinfo' => array ( 'productbrand' => 'alhambra', 'productname' => '', 'productrange' => '', 'productsegment' => '', 'producttype' => '' ), 'promotionsName' => '', 'outbound_url' => '' )); $dataLayer[0]['clientinfo']['clientcustomerid'] = $_COOKIE['clientCustomerId'] ?? ''; $dataLayer[0]['clientinfo']['clienthashedemail'] = $_COOKIE['clientHashedEmail'] ?? ''; $dataLayer[0]['clientinfo']['userlogin'] = $_COOKIE['userLogin'] ?? false; $interesDefault = "gastronomia"; $dataLayer[0]['navegacion']['contentCategoryMSM'] = $interesDefault; $interesMSM = Session::get ('interesMSM'); if(null == $interesMSM){ $interesMSM = $interesDefault; } if($interesMSM && strlen($interesMSM)>0 && !str_contains($interesMSM, $interesDefault)){ $interesMSM = $interesMSM != "" ? $interesMSM.','.$interesDefault : $interesMSM ?? ""; Session::put ('interesMSM',$interesMSM); } $dataLayer[0]['navegacion']['interesMSM'] = $interesMSM; $this['dataLayer'] = json_encode ($dataLayer); } ?>