# Klaviyo

### Shipping Confirmation email

You can add tracking links to [Klaviyo](https://apps.shopify.com/klaviyo-email-marketing) emails with a bit of customization. Follow the instructions below on how to make these changes for your order confirmation and shipping confirmation emails.

### Order Confirmation email

1\. Navigate to **Content** and then select *Templates*. Create a new one or edit an existing one.&#x20;

<figure><img src="/files/o4DgihOi56bWOctYkiWi" alt=""><figcaption></figcaption></figure>

2\. Under **Content** you'll find a **Button** block (if there isn't already one in there). *In the case that there is already an existing button, simply select the button until you are taken to the button settings.*

<figure><img src="/files/ivqcfNW39wLcwyX8gbzV" alt=""><figcaption></figcaption></figure>

3\. Copy the following URL.

```
https://{{store-url}}.myshopify.com/apps/tracktor/track?order={{ order_number | urlencode }}&email={{ email | urlencode }}
```

4\. Paste that URL into the **URL** text box of that button and change the text to *Track* (if you haven't already).

<figure><img src="/files/eLeyczYPJL1mqXhyU0Wf" alt=""><figcaption></figcaption></figure>

5\. Change the **{{store-url}}** part of that URL to your store's URL.

6\. Save your changes.

**Note:** Because "email" is a part of the URL your Google Analytics will flag these emails so you will need to add a Google Analytics Filter to avoid any issues.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shoppad.gitbook.io/tracktor/integrations/klaviyo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
