[Disponibilità limitata]{class="badge informative"}
Convalidare gli URL nei contenuti url-validation
In questa pagina: scopri come Adobe Journey Optimizer controlla i collegamenti Web nel contenuto del messaggio quando lo visualizzi in anteprima, in modo da rilevare URL interrotti, non sicuri o non raggiungibili prima dell’invio.
Quando visualizzi l’anteprima del contenuto del messaggio, puoi chiedere a Journey Optimizer di controllare i collegamenti Web in esso contenuti. Questo ti aiuta a rilevare i collegamenti interrotti o inaccessibili prima che il messaggio raggiunga il pubblico.
Esegui convalida URL access
La convalida URL è disponibile per le azioni del canale in percorsi e campagne su tutti i canali e quando si visualizza l’anteprima di modelli di contenuto. Viene eseguito automaticamente non appena si apre la schermata Simula, quindi non è necessario avviarla personalmente. Per esaminare i risultati:
-
Nell’editor dei contenuti fare clic su Simula contenuto. Ulteriori informazioni sulla simulazione
-
Dalla schermata Simula, controlla l’icona di convalida URL:
-
Se tutti gli URL sono validi, l’icona mostra un segno di spunta verde.
-
Se un URL non è valido, l’icona lo contrassegna.
{width="70%"}
Fai clic sull’icona per aprire una finestra a comparsa in cui sono elencati tutti gli URL non validi e il motivo per cui non sono validi.
-
-
Fai clic su Copia per copiare l’elenco negli Appunti, quindi incollalo in un documento o in un messaggio e-mail per la revisione.
-
Chiudi la finestra e correggi gli URL non validi nel contenuto. Per ulteriori informazioni, consulta la sezione Risoluzione dei problemi.
-
Simula nuovamente il contenuto per la convalida, che verrà rieseguita automaticamente. Ripeti l’operazione finché l’icona non mostra un segno di spunta verde.
{width="70%"}
Come funziona how-it-works
- Ogni URL
http://ehttps://nel contenuto viene controllato, inclusi collegamenti, immagini e fogli di stile, non solo collegamenti di testo cliccabili. - Ogni URL viene controllato per confermare che l’host risolve, risponde con uno stato di successo e risponde entro un tempo accettabile. Viene controllato solo lo stato della risposta; il contenuto della pagina non viene mai scaricato.
- Se vengono rilevati dei problemi, questi vengono identificati insieme al motivo e alle indicazioni su come risolverli.
Cosa viene segnalato invalid-urls
http://example.comhhttps://, ttps://localhost, 192.168.x.x, 169.254.169.254Per i passaggi necessari per risolvere ciascuno di questi problemi, vedere Risoluzione dei problemi.
Cosa non viene controllato not-checked
I seguenti elementi non vengono contrassegnati come interrotti, anche se compaiono nel contenuto:
- I collegamenti non Web -
adbinapp://,mailto:,tel:,sms:edata:URI non sono URL Web. - I collegamenti relativi -
/pageo./image.jpgnon hanno host da controllare. - Ancoraggi -
#sectionè un riferimento a una pagina locale. - Collegamenti vuoti — Un
hrefvuoto non è un collegamento.
Avvertenze caveats
https://example.com/profile/{{crmID}}https://example.com/offer?promoCode={{promoCode}}
Il contenuto viene analizzato alla ricerca di URL ovunque appaia, non solo nei collegamenti cliccabili. Di conseguenza, alcune altre categorie vengono spesso segnalate come falsi positivi:
- Gli URL dello spazio dei nomi Adobe, ad esempio
xmlns="http://ns.adobe.com/..."in XML/HTML, sono identificatori anziché pagine da visitare. Restituiscono un 404, che è previsto. - URL risorse CDN: immagini, font o fogli di stile che non devono essere selezionati. Se la rete CDN è lenta o temporaneamente non disponibile, potrebbe essere visualizzata come non valida.
- URL nei commenti o nei metadati che non vengono mai visualizzati ai destinatari ma sono ancora controllati.
Best practice best-practices
- Utilizza
https://per tutti i collegamenti. I collegamenti HTTP non sono consentiti. - Prima di visualizzare l’anteprima, verifica che le dipendenze esterne, ovvero gli URL CDN, le API di terze parti e le immagini remote, siano integre.
- Simulare collegamenti personalizzati con un profilo Adobe Experience Platform reale: i dati immessi manualmente, importati, generati dall’intelligenza artificiale o da utenti simulati possono far sì che i collegamenti validi vengano visualizzati come non validi.
- Resta al di sotto del limite di 50 URL: superandolo non si eliminano gli extra, ma viene rifiutata l’intera richiesta di convalida. Valuta la possibilità di suddividere il contenuto in più messaggi o modelli.
- È previsto che lo spazio dei nomi o gli URI dei dati nello schema non vengano visualizzati come validi, in quanto non devono essere selezionati.
Risoluzione dei problemi troubleshooting
https://.{{ }} è contrassegnato come non validoThis 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: Journey Optimizer can check the web links in your message content when you preview it, so you can catch broken, insecure, or unreachable URLs before you send.
Intents:
- Check the web links in the content of channel actions in journeys and campaigns, across all channels, and in content templates when you preview them.
- Review the URL validation results on the Simulate screen, after you select Simulate content from the content editor.
- Copy the list of invalid URLs to your clipboard, then paste it into a document or email for review.
- Fix the invalid URLs in your content and simulate the content again until the URL validation icon shows a green check mark.
- Check whether a flagged URL is a personalized link previewed without a real profile, a namespace, CDN, or metadata URL, or an actual user-facing link.
Glossary:
- URL validation (product-specific): Checks every
http://andhttps://URL in your content, including links, images, and stylesheets, not only clickable text links, to confirm that the host resolves, responds with a success status, and responds within an acceptable time. Only the response status is checked; page content is never downloaded. URL validation runs automatically as soon as you open the Simulate screen. - URL validation icon (product-specific): The icon on the Simulate screen. If all URLs are valid, the icon shows a green check mark. If any URLs are invalid, the icon flags it, and selecting the icon opens a pop-up window that lists each invalid URL and the reason why it is invalid.
Guardrails:
- More than 50 URLs in your content (hard limit): validation does not just skip the extra URLs; the entire request is rejected and no result is returned.
- Internal or private network addresses, such as
localhost,192.168.x.x, and169.254.169.254, are blocked for security reasons. adbinapp://,mailto:,tel:, andsms:links are not web URLs and are not flagged as broken, even if they appear in your content.- Relative links, such as
/pageor./image.jpg, have no host to check and are not flagged as broken. - Anchors, such as
#section, are local page references and are not flagged as broken.
Prerequisites and permissions:
- URL validation is released in Limited Availability (LA) for a set of customers. Contact your Adobe representative to gain access.
Terminology:
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
- Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform
- Canonical name: Limited Availability — Acronym: LA
FAQ:
- Do I need to start URL validation myself? No. URL validation runs automatically as soon as you open the Simulate screen.
- Which URLs does URL validation check? Every
http://andhttps://URL in your content, including links, images, and stylesheets, not only clickable text links. - Does URL validation download the page content of a link? No. Only the response status is checked; page content is never downloaded.
- What happens if my content contains more than 50 URLs? The entire request is rejected and no result is returned. Reduce the number of links in your content to get a validation result.
- How do I re-run URL validation after I fix the invalid URLs? Simulate the content again: validation re-runs automatically. Repeat until the icon shows a green check mark.
Troubleshooting:
This link uses HTTP. Only HTTPS links are allowed.: Cause: an insecure scheme, for examplehttp://example.com; HTTP links are not secure. Solution: update the URL to usehttps://.This link couldn't be reached.: Cause: a malformed URL (for example a bad host or spaces; the URL cannot be parsed), a scheme typo (for examplehhttps://orttps://; the scheme is not recognized), a broken or unreachable link (for example a 404 response or a domain that does not resolve), an internal or blocked address, or a timeout (the host did not respond in time). Solution: fix the URL, or verify the host is correct, online, and reachable.- No validation result is returned at all: Cause: the content contains more than 50 URLs, so the entire request is rejected. Solution: reduce the number of links in your content, then preview again.
- A link with a
{{ }}personalization token is flagged as invalid: Cause: personalized links are validated against the data you preview with on the Simulate screen (entered manually, imported from a file, generated with AI, or based on simulated users). None of these are backed by a real Adobe Experience Platform profile, so the resolved URL may not exist, and the link is flagged as invalid even if it works for real recipients. Solution: simulate again with a real Adobe Experience Platform profile to check whether the link actually works. - A flagged URL actually works fine and is not personalized: Cause: a false positive. Content is scanned for URLs wherever they appear, not only in clickable links. Adobe namespace URLs, such as
xmlns="http://ns.adobe.com/..."in XML/HTML, are identifiers rather than pages to visit and return a 404, which is expected. CDN resource URLs (images, fonts, or stylesheets that are not meant to be clicked) may show as invalid if the CDN is slow or temporarily unavailable. URLs in comments or metadata are never shown to your recipients but are still checked. Solution: the URL is likely a namespace URL, a CDN resource, or content in comments or metadata, and is safe to ignore if it is not user-facing.
Examples:
- Personalized links that may show as invalid unless you preview with a real Adobe Experience Platform profile:
https://example.com/profile/{{crmID}}andhttps://example.com/offer?promoCode={{promoCode}}.
Best practices:
- Use
https://for all links. - Confirm that external dependencies (CDN URLs, third-party APIs, and remote images) are healthy before you preview.
- To stay under the 50-URL limit, consider splitting your content across multiple messages or templates.
Related pages:
- For content templates, whose preview also runs URL validation: content templates
- For simulating content from the content editor: Simulate content variations
Personas:
- marketer: Can review the URL validation results on the Simulate screen after selecting Simulate content from the content editor. Can select the flagged URL validation icon to open a pop-up window that lists each invalid URL and the reason why it is invalid. Can select Copy to copy the list to the clipboard, then paste it into a document or email for review. Can fix the invalid URLs and simulate the content again until the icon shows a green check mark. The page states that if the content contains more than 50 URLs, the entire request is rejected and no result is returned. Where: “Run URL validation”.
Onboarding:
- Level: Beginner
- First minimal step: From the content editor, select Simulate content.
- Success check: If all URLs are valid, the URL validation icon on the Simulate screen shows a green check mark.