> Send beehiiv readers to a hosted Plandalf checkout from posts and website pages, and add a live deadline timer countdown to your emails.

Source: https://plandalf.com/docs/websites/beehiiv

Websites and builders

# beehiiv

Link any beehiiv button to your hosted Plandalf checkout, in a newsletter or on your beehiiv website. You can also put a deadline timer's live countdown in your emails as an image.

**What works on beehiiv**

beehiiv doesn't run custom scripts in posts or emails, so the Plandalf script, checkout buttons that open over the page and inline checkouts don't work there. Hosted checkout links and the countdown image do.

## Add the script

There's nothing to install on beehiiv. You link to the checkout page Plandalf hosts for you.

## Open a checkout from a button

1.  ### Copy your checkout link
    
    In Plandalf, open the checkout's **Share** screen, choose **Hosted link** and copy **Your checkout link**.
    
2.  ### Add a button to your post
    
    In the beehiiv post editor, type `/` and add a **Button**. Write a label for the purchase, such as **Join the workshop**.
    
3.  ### Paste the link
    
    Select the button and paste your checkout link into its link field. On your beehiiv website, link a button or text the same way.
    

beehiiv adds its own tracking parameters to links, which doesn't affect the checkout. See [Checkout links](https://plandalf.com/docs/checkouts/links).

## Show a checkout on the page

beehiiv can't show a checkout inside a post or page. Link to your hosted checkout instead, as above.

## Show a deadline timer

A deadline timer's countdown can go in a beehiiv email as an image that shows each reader their own time left.

1.  ### Choose beehiiv as your email platform
    
    In Plandalf, go to **Settings → Platforms** and set **Email platform** to beehiiv. Your deadline timers then show snippets made for beehiiv.
    
2.  ### Copy the timer code
    
    Open your deadline timer, go to **Emails** and copy the code under **Email timer code**. It looks like this, with your own address and deadline timer:
    
    ```html
    <img
      src="https://countdown.plandalf.dev/YOUR-ORG/promo/YOUR-PROMO.gif?ref={{ email }}"
      alt="Time remaining on this offer"
    />
    ```
    
    `{{ email }}` is beehiiv's merge tag for each reader's address. Leave it as it is.
    
3.  ### Paste it into an HTML Snippet
    
    In the post editor, type `/` and choose **HTML Snippet**, then paste the code. HTML Snippet is on beehiiv's paid plans.
    

For each reader to get their own deadline, add them to the deadline timer before or when you send. The deadline timer's **Emails** tab shows how to do that from beehiiv. See [Email countdowns](https://plandalf.com/docs/promos/email-countdowns).

## Check it's working

1.  ### Preview the email
    
    Choose **Preview** and check the button and the countdown image both show.
    
2.  ### Click the button
    
    The hosted checkout opens with your offer and price.
    
3.  ### Make a test purchase
    
    Use **Open the test checkout** on the Share screen to try it with Stripe test cards. Send yourself a test email before you send to your list. See [Test mode](https://plandalf.com/docs/get-started/test-mode).
    

## If it isn't working

-   If the countdown image doesn't show, check the HTML Snippet kept the whole `<img>` tag and your plan includes HTML Snippet.
-   If every reader sees the same deadline, check the `ref` in the image is beehiiv's merge tag and readers are added to the deadline timer with the same address.
-   A Plandalf purchase doesn't add the buyer to your beehiiv list. Set that up separately if you need it.

See [Troubleshooting](https://plandalf.com/docs/help/troubleshooting).

Something wrong or missing? Email [hello@plandalf.com](mailto:hello@plandalf.com).
