Paramètre « value » manquant

Paramètre « value » manquant

Ywrlg
Visitor
2 0 0

Bonjour j'ai un gros soucis avec mon pixel tiktok voici le message : Problème : Il manque un paramètre "value" aux événements partagés. Ce paramètre est utilisé pour calculer le ROAS pour les utilisateurs et l'offre pour tes clients les plus importants. 

 

Je ne sais pas quoi faire avec sa c'est la premier fois que cela m'arrive ! j'ai vraiment besoin d'aide et en plus de sa je ne peux pas sélectionner aucun pixel alors que c'est connecté à mon shopify :

Terminer la configuration de la connexion de données

Aucune activité n'a été signalée à partir de cette connexion de données. Vérifiez que la configuration est complète et testez les événements. 

Ywrlg_0-1736961137054.png

 

Ywrlg_1-1736961137063.png

Replies 3 (3)

ShreyaRevize
Shopify Partner
64 7 11

Hi @Ywrlg!

I understand your TikTok Pixel issue, and I can help walk you through fixing both the "value" parameter problem and the connection setup. Let’s fix this step by step:

 

Step 1: Fix the TikTok Pixel Code in Your Shopify Theme

  1. Go to your Shopify admin.
  2. Click Online StoreThemes.
  3. On your active theme, click ActionsEdit Code.
  4. Look for theme.liquid in the Layout folder.
  5. Find your TikTok Pixel code (usually near the <head> section).

Step 2: Add Purchase Event Tracking Code

To fix the "value" parameter issue, add this code after your existing TikTok base pixel:

{% if first_time_accessed and order.customer %}
  ttq.track('Purchase', {
    value: {{ order.total_price | money_without_currency | times: 0.01 }},
    currency: '{{ shop.currency }}',
    contents: [
      {% for line_item in order.line_items %}
        {
          content_id: '{{ line_item.sku | escape }}',
          content_type: 'product',
          quantity: {{ line_item.quantity }},
          price: {{ line_item.final_price | money_without_currency | times: 0.01 }}
        }{% unless forloop.last %},{% endunless %}
      {% endfor %}
    ]
  });
{% endif %}

Step 3: Fix the TikTok Pixel Connection Setup

  1. Save your changes in the Shopify theme editor.
  2. Go to TikTok Ads Manager.
  3. Navigate to AssetsEvents.
  4. Click Test Events.
  5. Perform a test purchase on your Shopify store.
  6. Check if events are being tracked correctly.

 

This code will:

  • Tracks the total order value.
  • Uses your store’s currency.
  • Includes details for each purchased item (e.g., content ID, quantity, and price).
  • Formats all numbers correctly for TikTok.

 

If you’re still seeing issues (e.g., "No activity has been reported"), try the following:

  1. Wait 24 hours for data to refresh.
  2. Double-check that the TikTok-Shopify connection setup is complete in your Shopify admin.
  3. Perform another test purchase to trigger the events.

 

Let me know if you need further assistance! 😊

Cheers!
Shreya | Revize

Helping for free: hello@untechnickle.com
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
Ywrlg
Visitor
2 0 0
Hello,

Thanks for your detailed help.

However, after following the steps, it unfortunately did not work. I am not
sure if I copied the code to the right place, because I do not know what
the TikTok Pixel base code looks like exactly. I connected TikTok to
Shopify via the app, and I am not sure if I correctly identified or
modified the correct part in the theme.liquid file.
Do you have a more precise method to locate the Pixel base code or to
confirm that everything is set up correctly?

Thank you in advance for your support. Kind regards,

ml66100
Visitor
2 0 0

Salut, ca me fait la même chose, tu as trouver une solution ?