BudURL may be used anywhere a URL would be used, including in an img src reference. The advantage of this method is that every time the image is served, a click is processed. This makes an ideal solution for tracking the number of times that an image is served, such as a banner ad. When you wrap this BudURL-served image around a BudURL link, you get image-count tracking and click-count tracking, including all of the insight provided through BudURL analytics.
<a href = "http://go.budurl.co/bannerBudURL"><img src = "http://go.budurl.co/banner300x250"></a>
To create your own image server via BudURL, you'll need two BudURL links:
Link 1: The link that points to your image file (ex: http://go.budurl.co/banner300x250). You can host the image on your website, through a file sharing service, or through anywhere that you can host an image.
Link 2: The link that is used to track your clicks (ex: http://go.budurl.co/bannerBudURL). This is where you will keep track of the number of clicks on your banner ad.
You can change which banner is being served by updating the long URL within your BudURL link. This means you can provide this snippet of code to a third-party and control which banner is displayed without having to change the code.
- Use BudURL Routes to dynamically change the which image is served by day, date, time, language, geography, and device.
- Use a 307 Redirect (rather than a 301) to ensure that images and links are not cached and updates to your BudURL links are immediate.