When saving new updates to an email template, the following error message may be displayed prompting you to review the URLs contained in the email.
While it may seem quite daunting to address this, it's much simpler than it may seem.
Why check URL structure?
When a user clicks a link within an email, they are first directed to a ReSci page and then redirected to the URL that was clicked. This allows us to track email click-throughs accurately. If the URL structure is not in a standard format, it is possible for the user to be redirected to a broken link.
To ensure users will always arrive at the URL specified in the email, Cortex requires all URLs to be structured consistently.
Searching for improperly formatted links
- Within the editor, highlight and copy the entirety of the HTML that composes the email and paste it into your preferred text editing program.
- Within your text editing program, search for "href=".
- Search for any href attributes for any that do not contain http:// or https://.
- Append these values to the beginning of the URL.
After updating all improperly formatted URLs, copy and paste the HTML code back into Cortex's HTML editor and save the email. If the error message is displayed again, check the email for any incorrectly structured URLs that were missed.
Drag and Drop Template Builder:
Within the Template Builder, click on all images and confirm that their Image Links begin with http:// or https://. If they are missing append these values to the beginning of the URL.
Click on all text that contains hyperlinks and confirm that the URLs begin with http:// or https://. If they are missing, append these values to the beginning of the URL.
- Click the text box and then click the link icon.
- Take note of the URL field.
After correcting all incorrectly structured URLs, attempt to save the template. If the error message is displayed again, double check the email for any incorrectly structured URLs that were missed.