> Add a Plandalf checkout to a GoHighLevel funnel or website page, then send each buyer back into your HighLevel CRM.

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

Websites and builders

# GoHighLevel

Keep your GoHighLevel funnel and add a Plandalf checkout to it: put the script in the funnel's tracking code once, then a code element on each page that sells. Buyers stay on your funnel page while they pay.

**Getting buyers into your HighLevel CRM**

A Plandalf purchase doesn't create a HighLevel contact by itself. To add buyers as contacts, tag them, start a workflow or open an opportunity, connect the GoHighLevel app in Plandalf's automations. See [GoHighLevel automations](https://plandalf.com/docs/automations/gohighlevel).

## Add the script

Copy the script from your checkout's **Share** screen (pick **GoHighLevel**) so it holds your own address.

1.  ### Open the funnel's settings
    
    In the sub-account, open your funnel or website and click **Settings**.
    
2.  ### Paste the script
    
    Paste it into **Head tracking code** and save. Every page in the funnel now loads it.
    

```html
<script async src="https://YOUR-ORG.plandalf.dev/js/plandalf-sdk.js"></script>
```

## Open a checkout from a button

Edit a funnel page, add a **code element** where the button goes, paste the button and save:

```html
<button data-plandalf-present="YOUR-CHECKOUT">Buy Now</button>
```

Use a code element so you can add the Plandalf attribute to the button. To use GoHighLevel's own Button element instead, link it to your [hosted checkout link](https://plandalf.com/docs/checkouts/links). More options are in [Buy buttons](https://plandalf.com/docs/checkouts/buy-buttons).

## Show a checkout on the page

In a **code element**, paste an inline checkout:

```html
<div data-plandalf-mount="YOUR-CHECKOUT" style="min-height: 480px"></div>
```

If you'd rather not touch the funnel's settings, paste the script and the element together into the code element. Add the script once per page.

## Show a deadline timer

In a **code element**, add an empty element with your deadline timer's slug. The script draws the live countdown inside it. To charge the deadline timer's current price, add `data-plandalf-apply-promo` with the same slug to your buy button.

```html
<div data-plandalf-promo="YOUR-PROMO"></div>
<button data-plandalf-present="YOUR-CHECKOUT" data-plandalf-apply-promo="YOUR-PROMO">Buy Now</button>
```

See [Countdowns](https://plandalf.com/docs/promos/countdowns).

## Check it's working

1.  ### Open the published page
    
    Use a private window, not the builder preview. In the browser console, type `plandalf`: you should see a function. `undefined` means the script isn't on the page.
    
2.  ### Click your button
    
    The checkout opens over the page.
    
3.  ### Make a test purchase
    
    Use **Open the test checkout** on the Share screen, or add your funnel's domain in Plandalf under **Settings → Advanced → Test domains**. See [Test mode](https://plandalf.com/docs/get-started/test-mode).
    

## If something's not right

-   The button does nothing: check the script is in **Head tracking code** for this funnel, not another one, and that you saved and republished.
-   Buyers pay but don't show up in HighLevel: connect the [GoHighLevel app](https://plandalf.com/docs/automations/gohighlevel) and add a sequence that adds them as contacts.

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