Jump to main content Jump to doc navigation

bdRedirect

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

bdRedirect is a simple snippet that can be used to create a redirect page that tracks clicks for the listing a link was clicked on. You need to set the &redirectResource property on your bdListings snippet calls to make sure it properly generates the redirect_url property.

Simply create a resource, and put the uncached bdRedirect snippet call in the content:

[[!bdRedirect]]

It will redirect the user to the "website" url, or to the error page if it can't be found.