Site Pages
You can target visitors using Adobe Target who access a specific page on your site.
-
In the Target interface, click Audiences > Create Audience.
-
Name the audience and add an optional description.
-
Drag and drop Site Pages into the audience builder pane.
-
Click the Select drop-down list, select one of the following options, then configure the rule as desired.
The available options and evaluators in subsequent drop-down lists in the rule vary depending on which option you choose. The following illustration shows the available options if you choose Current Page:
The following options are available in the initial drop-down list when you choose Select.
-
Current Page: The page the user is viewing.
The following options are available in the second drop-down list if you choose this option:
- URL (For more information about how Target evaluates URLs, see Targets and audiences FAQ.)
- Domain
- Query
- Subdomain
- Top-Level Domain
- Path
- Hash (#) fragment
-
Previous Page: The page the user was viewed before clicking to the current page. The user must click from the previous page to the current page for the page to be tracked. The previous page is not tracked if the user types a new URL in the browser. The actual content of this page depends on the design of your site. For example, if the current page displays information about a specific product, the previous page might be a category page where the visitor selects the specific item. For example, a page displaying several cameras of a certain type, or it might be the home page that leads to the final page.
The following options are available in the second drop-down list if you choose this option:
- URL (For more information about how Target evaluates URLs, see Targets and audiences FAQ.)
- Domain
- Query
- Subdomain
- Top-Level Domain
- Path
-
Landing Page: The landing page is the first page the visitor sees when accessing your site. For example, if the visitor clicks a link on Google that leads to a category page, then the category page is the landing page. If the link leads to your home page, then the home page is the landing page. The landing page is remembered for the visitor’s session. You can target deeper in the site based on what the visitor’s landing page was in this session.
The following options are available in the second drop-down list if you choose this option:
- URL (For more information about how Target evaluates URLs, see Targets and audiences FAQ.)
- Domain
- Query
- Subdomain
- Top-Level Domain
- Path
- Hash (#) fragment
note NOTE The landing.urlobject is reset on a subdomain change or direct URL replacement. -
HTTP Header: This option evaluates the information in the HTTP header of the Target request. For example, if the HTTP header contains language information, you could create a rule that contains the
Accept-Language: escondition to target visitors who access the page in Spanish.The following options are available in the second drop-down list if you choose this option:
- Accept
- Accept-Charset
- Accept-Encoding
- Accept-Language
- Authorization
- Cache-Control
- Connection
- Content-Length
- Content-MDS
- Content-Type
- Date
- Expect
- From
- Host
- If-Match
- If-Modified-Since
- If-None-Match
- If-Range
- If-Unmodified-Since
- Max-Forwards
- Pragma
- Proxy-Authorization
- Range
- Referrer
- TE
- Upgrade
- User-Agent
- Via
- Warning
If you chose Current Page, Previous Page, or Landing Page, the Domain and Query options are available. Consider the following when choosing these options:
-
Domain: The full domain of the page. When specifying a domain, best practice is to use “contains.” For example, “Domain equals facebook.com” does not accept
m.facebook.comorwww.facebook.com. “Domain contains facebook.com” accepts any variant of facebook.com. -
Query: The content of the URL after the first question mark (?).
foo.html?e0a72cb2a2c7
-
-
(Optional) Set up additional rules for the audience.
-
Click Done.
You can also create site pages audiences using you own “user-defined query parameter” or “user-defined header.”
Use a:
- Query parameter if the rule selected by the user is Current Page, Landing Page, or Previous Page
- Header if the rule selected by the user is an HTTP header
Troubleshooting ts
-
For landing page audiences to function properly, requests must have the
mboxReferrerparameter set (for the Delivery API thecontext.address.referringUrlparameter) that the at.js JavaScript library takes from the page using thedocument.referrerattribute. ThisHTMLDocumentattribute returns the URI of the page the user has navigated from. The value of this attribute is an empty string when the user navigates to the page directly (not through a link, but, for example, via a bookmark).If this behavior does not match your requirements, consider performing one of the following actions:
- Pass mbox parameters to Target to be used for targeting purposes.
- Use an A/B Test activity instead of a landing page activity. A/B Test activities do not switch experiences for the same visitor.
- Use a visitor profile instead.
-
When using “starts/ends with” evaluators on strings containing commas, these strings are evaluated as an array of values, in which each value separated by comma is evaluated. For example if you have the value for a header:
Accept-Language: en,zh;q=0.9,en-IN;q=0.8,zh-CN;q=0.7it qualifies for conditions like:- starts with zh,
- starts with en,
- ends with 0.7,
- ends with 0.8.
Training video: Creating Audiences
This video includes information about using audience categories.
- Create audiences
- Define audience categories
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: Explains how to create an Adobe Target audience that targets visitors who access a specific page on a site, using the Site Pages rule with the Current Page, Previous Page, Landing Page or HTTP Header options.
Intents:
- Create an audience that targets visitors who access a specific page on a site.
- Choose between the Current Page, Previous Page, Landing Page and HTTP Header options of the Site Pages rule.
- Target visitors based on the landing page of their session.
- Target visitors based on the information in the HTTP header of the Target request, for example the language.
- Create a site pages audience with a user-defined query parameter or a user-defined header.
- Troubleshoot landing page audiences and “starts with” or “ends with” evaluators on strings that contain commas.
Glossary:
- Site Pages (product-specific): the rule that is dragged and dropped into the audience builder pane to target visitors who access a specific page on a site.
- Current Page (product-specific): the page the user is viewing.
- Previous Page (product-specific): the page the user viewed before clicking to the current page.
- Landing Page (product-specific): the first page the visitor sees when accessing the site. It is remembered for the visitor’s session, so it is possible to target deeper in the site based on the visitor’s landing page in this session.
- HTTP Header (product-specific): the option that evaluates the information in the HTTP header of the Target request.
- Domain: the full domain of the page.
- Query: the content of the URL after the first question mark (?).
- user-defined query parameter and user-defined header: a query parameter or a header that you define yourself, which can also be used to create site pages audiences. A query parameter is used if the rule selected by the user is Current Page, Landing Page or Previous Page. A header is used if the rule selected by the user is an HTTP header.
Guardrails:
- Previous Page: the user must click from the previous page to the current page for the page to be tracked. The previous page is not tracked if the user types a new URL in the browser.
- The
landing.urlobject is reset on a subdomain change or direct URL replacement. - In the second drop-down list, the Hash (#) fragment option is listed for Current Page and Landing Page, and not for Previous Page. URL, Domain, Query, Subdomain, Top-Level Domain and Path are listed for all three.
Terminology:
- Canonical name: Site Pages (audience rule)
- Options of the Site Pages rule: Current Page, Previous Page, Landing Page, HTTP Header
FAQ:
- How do I target visitors who access a specific page on a site? Create an audience, name it, and drag and drop Site Pages into the audience builder pane, then select Current Page, Previous Page, Landing Page or HTTP Header and configure the rule.
- What is the Landing Page option? It is the first page the visitor sees when accessing the site, and it is remembered for the visitor’s session.
- Is the previous page tracked when the user types a new URL in the browser? No. The user must click from the previous page to the current page for the page to be tracked.
- What does the HTTP Header option evaluate? It evaluates the information in the HTTP header of the Target request.
- When creating a site pages audience with a user-defined query parameter or a user-defined header, which one is used? A query parameter is used if the rule selected is Current Page, Landing Page or Previous Page. A header is used if the rule selected is an HTTP header.
Troubleshooting:
- Landing page audiences: for landing page audiences to function properly, requests must have the
mboxReferrerparameter set (for the Delivery API, thecontext.address.referringUrlparameter) that the at.js JavaScript library takes from the page using thedocument.referrerattribute. This attribute returns the URI of the page the user has navigated from. Its value is an empty string when the user navigates to the page directly (not through a link, but, for example, via a bookmark). If this behavior does not match the requirements, one of these actions can be performed: pass mbox parameters to Target to be used for targeting purposes; use an A/B Test activity instead of a landing page activity, because A/B Test activities do not switch experiences for the same visitor; use a visitor profile instead. - “starts/ends with” evaluators on strings that contain commas: these strings are evaluated as an array of values, in which each value separated by a comma is evaluated. For the header value
Accept-Language: en,zh;q=0.9,en-IN;q=0.8,zh-CN;q=0.7, the conditions that qualify are: starts with zh, starts with en, ends with 0.7, ends with 0.8.
Examples:
- HTTP Header: if the HTTP header contains language information, a rule that contains the
Accept-Language: escondition targets visitors who access the page in Spanish. - Previous Page: if the current page displays information about a specific product, the previous page might be a category page where the visitor selects the specific item, for example a page displaying several cameras of a certain type, or the home page that leads to the final page.
- Landing Page: if the visitor clicks a link on Google that leads to a category page, the category page is the landing page. If the link leads to the home page, the home page is the landing page.
- Query:
foo.html?e0a72cb2a2c7.
Best practices:
- Domain: when specifying a domain, best practice is to use “contains”. “Domain equals facebook.com” does not accept
m.facebook.comorwww.facebook.com, while “Domain contains facebook.com” accepts any variant of facebook.com.
Related pages:
- More information about how Target evaluates URLs (the URL option in the second drop-down list for Current Page, Previous Page and Landing Page): Targets and audiences FAQ (c-target/c-troubleshooting-targets-and-audiences/troubleshooting-targets-and-audiences.md)
- Alternative to a landing page activity, because A/B Test activities do not switch experiences for the same visitor: A/B Test activity (c-activities/t-test-ab/test-ab.md)
- Alternative when the landing page behavior does not match the requirements: visitor profile (c-target/c-audiences/c-target-rules/visitor-profile.md)
Personas:
- marketer: Can create an audience that targets visitors who access a specific page on a site. In the Target interface, select Audiences > Create Audience, name the audience, add an optional description, and drag and drop Site Pages into the audience builder pane. Can then select Current Page, Previous Page, Landing Page or HTTP Header and configure the rule. The page states that the previous page is not tracked if the user types a new URL in the browser. Where: “Site Pages”.
- developer: Can work with landing page audiences: for landing page audiences to function properly, requests must have the mboxReferrer parameter set (for the Delivery API, the context.address.referringUrl parameter) that the at.js JavaScript library takes from the page using the document.referrer attribute. The page states that the value is an empty string when the user navigates to the page directly. If this behavior does not match the requirements, can pass mbox parameters to Target to be used for targeting purposes, use an A/B Test activity instead of a landing page activity, or use a visitor profile instead. Where: “Troubleshooting”.
Onboarding:
- Level: Intermediate
- First minimal step: In the Target interface, select Audiences > Create Audience, then name the audience and drag and drop Site Pages into the audience builder pane.
- Next: Landing page behavior does not match your requirements: visitor profile (c-target/c-audiences/c-target-rules/visitor-profile.md); Use instead of a landing page activity: A/B Test activity (c-activities/t-test-ab/test-ab.md)