# Sklik Retargeting Consent Integrated

The Sklik Retargeting Consent Integration feature within the app provides a seamless way for merchants to implement Sklik Retargeting Consent on their e-commerce platform. This feature allows merchants to respect user consent for cookies, ensuring compliance with data protection regulations while still enabling the collection of critical analytics and ad performance data.

Merchants can configure Sklik Retargeting Consent directly from app's admin: **Settings/Integration/ Sklik Retargeting** by following these steps:

1. &#x20;Input your **Sklik Retargeting ID** to the input
2. &#x20;Copy the generated code snippet provided by the app.
3. Access the <mark style="color:blue;">`theme.liquid`</mark> file within the website's theme editor.
4. Paste the copied code snippet just after the opening <mark style="color:blue;">`<head>`</mark> tag.
5. Save the changes made to the <mark style="color:blue;">`theme.liquid`</mark> file to ensure Consent Mode is active.

### Default Consent Configuration

Upon integration of the generated code into the <mark style="color:blue;">`theme.liquid`</mark> file, the app will default value of <mark style="color:blue;">`consent`</mark>to a '<mark style="color:red;">`0`</mark>' state. This ensures that no data is collected without the explicit consent of the user.

### User Consent Interaction

When a user visits the merchant's website, they will be prompted to provide consent for various categories of cookies, including:

* **Marketing Cookies**: Related to advertising and marketing efforts.
* **Analytics Cookies**: Used for collecting data on user interaction and behavior.
* **Functionality Cookies**: Essential for certain website features and personalization.

### Updating Consent Status

If the user provides their consent:

1. **Consent Update**: The app will update <mark style="color:blue;">`consent`</mark>to '<mark style="color:green;">`1`</mark>' for the cookie categories the user has accepted.
2. **Consent Storage**: The user's preferences are stored in a cookie on their device, ensuring that their choices are remembered for future visits.
3. **Automatic Consent Application**: On subsequent visits, the app will automatically read the stored cookie and apply the user's preferences without requiring them to consent again.

With this feature, merchants can manage user consent for cookies in a way that is compliant with privacy laws, user-friendly, and minimizes the impact on data collection for critical website functions. The process is designed to be transparent for users and straightforward for merchants to implement and manage.

### Test your Sklik Retargeting consent setup

**Using Console on DevTool**

1. Open your site
2. Press button **F12** or <mark style="color:blue;">**`Ctrl + Shift + J`**</mark> on Windows ( <mark style="color:blue;">**`Cmd + Option + J`**</mark> on MacOS) or **Right Mouse** and select **Inspect** to open Console Tab on
3. Select the Network tab and type the word “**reta**” into the search field. Then refresh the page using the F5 key

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

4. You will then see the information in the DevTools console:

   * In the **“Name”** column you will see the information that the code sends to Seznam.
   * If you **click on the line once**, a second column will open, in which if you click on the **“Payload”** tab, you will see the information that the code sends in the lines below.
   * For our purposes, we will focus **on the consent information line**.
   * By default, before users give consent, there is an event sent to Seznam with value of <mark style="color:blue;">`consent`</mark> is <mark style="color:green;">`0`</mark>

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

   * When users accept banner, there is a new event sent with value of <mark style="color:blue;">`consent`</mark> is <mark style="color:green;">`1`</mark>

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


---

# 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://docs.consentik.com/integrations/sklik-retargeting-consent-integrated.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.
