Il server
La variabile in genere memorizza il nome host del sito. Viene comunemente utilizzato nelle suite di rapporti che contengono dati provenienti da più domini. È funzionalmente identica a una prop.
Il server è mappato per Adobe Analytics nel campo XDM web.webPageDetails.server
.
Puoi impostare il server sia durante la configurazione dell’estensione Analytics (variabili globali) sia nelle regole.
Puoi impostare il server su qualsiasi valore stringa o elemento dati.
Il s.server
variabile è una stringa che in genere contiene il nome host del sito. Può avere un valore massimo di 100 byte; i valori più lunghi vengono troncati.
// Set the server variable to a static string
s.server = "Example server";
// Automatically set the server variable to the site's hostname
s.server = window.location.hostname;