AUDIENCE: Administrators, Marketing Users
OBJECTIVES: Learn to avoid viewing errors when creating landing pages
Landing pages will redirect to themselves if you reference a URL that is a subdirectory or parent directory of the landing page URL. If you utilize <img src=“logo.png” > in the landing page HTML, the image reference will go to http://www.actonsoftware.com/acton/f.../fm/0/logo.png which points right back to the same landing page. As a result, the landing page loads itself again.
For example, consider this landing page:
If a fake file/image reference is added to it that’s in the same directory, subdirectory, or parent directory of the page, it will redirect back to itself. For example, the following image references will redirect to your landing page and cause an extra page view:
The above URLs will redirect to the example landing page which will show a broken image. However, that broken image is the browser attempting to load the landing page and triggering an additional view.