bdRedirect
Last updated Apr 6th, 2019 | Page history | Improve this page | 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.
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn more