URL-Variablen

landingreferrerpage
landing.urlreferrer.urlpage.url
landing.domainreferrer.domainpage.domain
landing.protocolreferrer.protocolpage.protocol
landing.paramreferrer.parampage.param
landing.queryreferrer.querypage.query

Geo- und Mobilnetzbetreiber-Profile

  • profile.geolocation.country
  • profile.geolocation.state
  • profile.geolocation.city
  • profile.geolocation.zip
  • profile.geolocation.dma
  • profile.geolocation.domainName
  • profile.geolocation.ispName
  • profile.geolocation.connectionSpeed
  • profile.geolocation.mobileCarrier
  • profile.geolocation.latitude
  • profile.geolocation.longitude

mbox-Variablen

VariableHinweise
mbox.name
mbox.param(‘param_name’)

Automatisch mit jeder Anfrage weitergegebene Parameter:

  • mbox.param(‘browserHeight’)
  • mbox.param(‘browserTimeOffset’)
  • mbox.param(‘browserWidth’)
  • mbox.param(‘colorDepth’)
  • mbox.param(‘mboxXDomain’)
  • mbox.param(‘mboxTime’)
  • mbox.param(‘screenHeight’)
  • mbox.param(‘screenWidth’)

Parameter, die mit Bestellaufgabe-Mboxes weitergegeben werden:

  • mbox.param(‘orderId’)
  • mbox.param(‘orderTotal’)
  • mbox.param(‘productPurchasedId’)
mbox3rdPartyIdEin Parameter „mbox“ zum Synchronisieren einer Kunden-ID mit der mboxPC-ID in Target. Eine Kunden-ID ist eine ID, die Ihr Unternehmen zum Verfolgen von Besuchern verwendet, zum Beispiel eine CRM-ID, eine Mitglieds-ID oder etwas Ähnliches. Mit dieser ID können dann über die Profil-APIs und Kundenattribute Informationen hinzugefügt werden.
mboxPageValueBei jeder Mbox-Anfrage wird der Seite ein Wert zugewiesen.
mboxDebugWird nur für Debug-Informationen verwendet. Wurde zur Seiten-URL hinzugefügt, wo at.js danach sucht.
mboxOverride.browserIpLegt eine andere Geografie als den tatsächlichen Speicherort fest, damit Sie testen können, wie etwas an einem anderen Speicherort aussehen würde.
Hinweis: Die Verwendung von mboxOverride-Parametern sollte nur beim Testen der Aktivität und nicht in der Produktion verwendet werden. Die Verwendung von MboxOverride-Parametern kann bei der Verwendung von Analytics für Target (A4T) zu Berichtsdiskrepanzen führen. Sie sollten während des Testens den Aktivitäts-QA-Modus verwenden, um sicherzustellen, dass Ihre Aktivität wie erwartet funktioniert, bevor Sie die Aktivität in Ihre Live-Umgebung versetzen.

Kundenattribute

Kundenattribute können in Profilskripts referenziert werden, formatiert als crs.get('<Datasource Name>.<Attribute name>').

Diese Attribute stehen auch als Tokens in Profilskripts und direkt in Angeboten zur Verfügung, ohne dass zunächst ein Profilskript erforderlich ist. Das Token sollte die folgende Form haben: ${crs.datasourceName.attributeName}. Beachten Sie, dass Leerzeichen in datasourceName bei jedem API-Aufruf entfernt werden sollten.

AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page lists the profiles, variables, and parameters that are useful in profile scripts.

Intents:

  • Find a built-in profile to use in a profile script.
  • Look up the URL variables (landing, referrer, page).
  • Look up the geo and mobile carrier profiles.
  • Look up the mbox variables and the parameters passed with mbox requests.
  • Reference customer attributes in profile scripts and in offers.

Glossary:

  • user.setLocal('param_name','value'): creates persisted profile values within a profile script. These values persist just like a profile script, but you only have access to them within the script where they were set. (product-specific)
  • user.getLocal('param_name'): retrieves the value that you set using user.setLocal. (product-specific)
  • user.parameter: persistent profile attributes created from profile scripts. It also references “system” profiles like geolocation, visit count, and so on. (product-specific)
  • profile.parameter('parameter_name'): mbox parameters that are made persistent due to their profile. prefix. (product-specific)
  • parameter=: generic term for additional values passed with an mbox, usually as name/value pairs. It is not persistent unless made so with profile.parameter or user.parameter. (product-specific)
  • mbox3rdPartyId: an mbox parameter to sync a customer ID to Target’s mboxPCID. A customer ID is an ID your company uses to track visitors, such as a CRM ID, membership ID, or something similar. This ID can then be used to add information via the Profile APIs and Customer Attributes. (product-specific)
  • mboxPageValue: in each mbox call, the page is assigned a value. (product-specific)
  • mboxDebug: only used for debug info. It is added to the page URL where at.js looks for it. (product-specific)
  • mboxOverride.browserIp: sets a different geo than the actual location so you can test how something would look in another location. (product-specific)
  • profile.browserTime: the visitor’s local browser time. For system time, create a new date object in the profile script. (product-specific)

Guardrails:

  • mboxOverride parameters should be used only while testing the activity and not in production. The use of any mboxOverride parameters can cause reporting discrepancies when using Analytics for Target (A4T).
  • user.header('referrer') does not work for Internet Explorer.
  • user.header('x-cluster-client-ip') has been deprecated.

Terminology:

  • Acronym: A4T (Analytics for Target)
  • Synonyms: user.activeActivities = user.activeCampaigns (both return the campaign ID for all campaigns/activities that the user is in, even if the user has not interacted with the campaign/activity in the current session)
  • Replaces: profile.mobile.isTablet replaces the deprecated legacy Browser is iPad audience category; profile.mobile.isMobilePhone replaces the deprecated legacy Browser is iPhone audience category
  • Do not confuse: the public-facing IP address returned by user.header('x-forwarded-for') ≠ the NAT address (internal address), which starts with 10., 192.168., or 172.

FAQ:

  • What is the correct way to obtain a profile parameter to use in a profile script? The correct way is the profile.get('param_name') method.
  • How are customer attributes referenced in profile scripts? Customer attributes can be referenced in profile scripts, formatted as crs.get('<Datasource Name>.<Attribute name>').
  • Can customer attributes be used in offers without a profile script? Yes. Customer attributes are also available as tokens in profile scripts and directly in offers without first requiring a profile script. The token should be in the form ${crs.datasourceName.attributeName}, and spaces in the datasourceName should be stripped from any API call.
  • Which mbox parameters are automatically passed with every request? mbox.param('browserHeight'), mbox.param('browserTimeOffset'), mbox.param('browserWidth'), mbox.param('colorDepth'), mbox.param('mboxXDomain'), mbox.param('mboxTime'), mbox.param('screenHeight'), and mbox.param('screenWidth').
  • Which mbox parameters are passed with order mboxes? mbox.param('orderId'), mbox.param('orderTotal'), and mbox.param('productPurchasedId').
  • Which profiles are available for geo and mobile carrier data? profile.geolocation.country, state, city, zip, dma, domainName, ispName, connectionSpeed, mobileCarrier, latitude, and longitude, each prefixed with profile.geolocation..

Best practices:

  • While testing an activity, use Activity QA mode to ensure that the activity works as expected before pushing the activity into the live environment.

Related pages:

  • Legacy audience categories that profile.mobile.isTablet and profile.mobile.isMobilePhone replace: Browser (c-target/c-audiences/c-target-rules/browser.md)
  • Reporting discrepancies when using mboxOverride parameters: Analytics for Target (c-integrating-target-with-mac/a4t/a4t.md)
  • Testing an activity before pushing it into the live environment: Activity QA mode (c-activities/c-activity-qa/activity-qa.md)

Personas:

  • marketer: Can use customer attributes as tokens directly in offers, without first requiring a profile script, with the token form ${crs.datasourceName.attributeName}. The page states that spaces in the datasourceName should be stripped from any API call. Where: “FAQ”.
  • developer: Can obtain a profile parameter in a profile script with the profile.get('param_name') method and reference customer attributes with crs.get('<Datasource Name>.<Attribute name>'). Can look up the mbox parameters passed with order mboxes: mbox.param('orderId'), mbox.param('orderTotal') and mbox.param('productPurchasedId'). Where: “FAQ”.

Onboarding:

  • Level: Experienced
  • First minimal step: Reference a customer attribute in a profile script with crs.get('<Datasource Name>.<Attribute name>').
  • Next: Testing an activity before pushing it into the live environment: Activity QA mode (c-activities/c-activity-qa/activity-qa.md)
Automatisch übersetzt
Verwenden Sie die Sprachauswahl, um die englische Version dieser Seite anzuzeigen.
War die Übersetzung hilfreich?

Ask AI

Not sure where to start?
Ask me anything about Adobe products.

Type your question or pick a suggestion below.

Use of this AI chatbot is subject to Adobe's Privacy Policy. Don't share sensitive data. AI responses are not your Content, may be inaccurate, and any offers provided are non-binding. Generative AI Terms.