# Data-Driven Ecommerce

In this exercise, you'll how to work with paid marketing and orders data to generate a number of metrics to evaluate the effectiveness of your marketing campaigns.

{% hint style="success" %}
You'll learn tool such as Date Format, Group By and Calculate
{% endhint %}

There are hints to help you get through this exercise. You can also download our solution model and import it in your own model. The file are available at the end of this page.

***

### Introduction <a href="#introduction-ecommerce" id="introduction-ecommerce"></a>

You can view the introduction to this exercise in the file below.

{% file src="/files/gBaymJTMhme6jGDTRPlM" %}

### Getting Started

* The first step of this exercise is to get the right data. Navigate to the folder where you want to work. Go to Create -> New Connection -> Search for "exercise" and choose the Data-Driven Ecommerce<br>

  <figure><img src="/files/tXf7PHZFlrF78u08rHOn" alt=""><figcaption><p>Finding the data</p></figcaption></figure>
* Inside a new model (Create -> New Model) you can now begin working with the data. Drag an Input tool to the Canvas -> Search for the name of the Connector -> Click on a table to select it -> Click Save and Run -> See the data in the preview table at the bottom of the view<br>

  <figure><img src="/files/2hEOZGJgOwk85F2ziTKh" alt=""><figcaption></figcaption></figure>

***

### Solution File

You can import a solution files from the Canvas.

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

{% file src="/files/0UbjGn5H2f4K6ToeIjKP" %}


---

# 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://resources.less.tech/less-tech/exercises/data-driven-ecommerce.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.
