Download card

A card with a PDF icon, a title and a one-line description, and a Download button that links to a file in the site's media library and reports each download to analytics.

file_urldownloadpdffileresourcelead magnetguidetrackdata-track

About this block

file_url turns the id of a file you uploaded in Media into its address. The link carries the download attribute so the browser saves the file, and data-track reports each click to your analytics.

How to customize it

  • Upload the file in Media, copy its id and paste it over PASTE-FILE-ID in the assign line. Until then the button points at #.
  • A full web address is passed through unchanged, so a link to a file hosted elsewhere works too.
  • For files only paying members can reach, use a hosted download with an access plan instead of a public link.

Browse other blocks

Same library cards — preview live and grab the code from any block.

View full library