> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/fr/integrations/systeme-de-gestion-de-contenu-cms/shopify-beta/reafficher-la-banniere-de-consentement-shopify.md).

# Réafficher la bannière de consentement Shopify

Didomi fournit un extrait de code JavaScript que votre organisation peut implémenter sur sa boutique Shopify afin de faire réapparaître l’avis de consentement et permettre aux utilisateurs finaux de gérer leurs choix de consentement en continu. Dans cet article, nous verrons comment implémenter le code de réapparition dans le thème utilisé pour votre boutique Shopify.

Depuis la vue administrateur de la boutique Shopify de votre organisation, sélectionnez **Boutique en ligne** dans la colonne de gauche et cliquez sur **Thèmes**.

<figure><img src="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FujcfQUaJAFQRzdW75oGQ%2FScreenshot%202026-04-23%20at%2011.52.03%E2%80%AFAM.png?alt=media&amp;token=0ce3f901-6fa9-434c-882c-530dc6ac96c3" alt="" width="563"><figcaption></figcaption></figure>

Sur la page suivante, repérez le thème utilisé pour votre boutique Shopify qui est intégré à l’avis de consentement Didomi. Cliquez sur le **les points de suspension** et sélectionnez **Modifier le code** dans le menu déroulant.

<figure><img src="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FbPjy2Q31gPBfbxU4e6aT%2FScreenshot%202026-04-23%20at%2011.54.07%E2%80%AFAM.png?alt=media&amp;token=0c19b3ae-e4ce-42b1-92b6-b3558d1dda7a" alt="" width="563"><figcaption></figcaption></figure>

Repérez le fichier `.liquid` dans lequel votre organisation saisira le code de réapparition Didomi. Modifiez le fichier pour inclure ce qui suit :

```html
<a href="javascript:Didomi.preferences.show()">Consent Preferences</a>
```

Dans l’exemple ci-dessous, nous ajoutons le code au pied de page de nos pages.&#x20;

<figure><img src="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FZPBQhvyMOSMUtI71eVaf%2FScreenshot%202026-04-23%20at%2011.59.07%E2%80%AFAM.png?alt=media&amp;token=d303c79c-23dc-4a69-9570-ca5ca26ec907" alt="" width="563"><figcaption></figcaption></figure>

Cliquez sur **Enregistrer** une fois terminé. Le code de réapparition sera ajouté à votre page et les utilisateurs finaux pourront cliquer sur le bouton/lien pour gérer leurs choix de consentement en continu.

<figure><img src="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2F3e1SRmGu1HiytQjtkj1X%2FScreenshot%202026-04-23%20at%2012.00.29%E2%80%AFPM.png?alt=media&amp;token=8fe2bcf0-043d-4feb-aac4-0a7cb6882fb8" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.didomi.io/fr/integrations/systeme-de-gestion-de-contenu-cms/shopify-beta/reafficher-la-banniere-de-consentement-shopify.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
