Why is my TikTok pixel inconsistently detecting events?

Why is my TikTok pixel inconsistently detecting events?

Jeanne8
Tourist
11 0 1

Hi. I am trying to set up my Tiktok pixel and it's not working well. I would prefer it not working at all than right now because right now when i test the pixel event in my tiktok ads manager, sometimes the extension pixel helper will detect a pixel on that browser but another it won't, sometime it works and at some point it stops, and it always stop when i complete the payment it never detects the complete payment. Also, sometimes when i click on checkout on my website it detects it as initiate checkout which is fine but sometimes they say : empty_event_name. The add to cart is missing value as well idk what's going on. On my previous 3 stores i've done eveeything was fine but now idk what's going on. Before i had the cookie banner enable and i don't know if it was messing with something so i deleted it completely but it's still isn't working. Pls help. Website link : Pixeoprint.com

Jeanne8_0-1711914190253.png

 

Replies 6 (6)

Xipirons
Shopify Partner
142 25 34

Hi @Jeanne8 

 

Based on the details you provided, it seems like there are some inconsistencies and errors with your TikTok pixel setup on Shopify.

Here are a few troubleshooting steps to try:

 

1. Re-install the TikTok app in Shopify
- Uninstall the current TikTok app from your Shopify store
- Go to the Shopify App Store and re-install the official TikTok app
- Reconnect your TikTok business account and ad account
- This will ensure you have the latest version of the app and pixel code

 

2. Check the pixel code placement
- Make sure the TikTok pixel base code is placed in the theme.liquid file, just above the closing </head> tag
- Avoid having duplicate pixel codes, as this can cause conflicts. There should only be one instance of the code
- Use the TikTok Pixel Helper Chrome extension to verify the pixel is firing correctly on key pages like product pages and checkout

 

3. Configure the pixel events
- In the TikTok Ads Manager, go to Assets > Events
- Set up the key events you want to track, like View Content, Add to Cart, Initiate Checkout, Place an Order
- Make sure the event details are configured correctly to match the actions on your website
- Test the events again after setup

 

4. Look for potential conflicts
- Temporarily switch to a different Shopify theme to see if the pixel works there. If so, there may be a code conflict with your current theme
- Disable any other tracking scripts or apps one by one to identify if one of them is interfering with the TikTok pixel

 

5. Reach out to support
- If the issues persist after trying the above, contact TikTok support through your Ads Manager
- Provide details on the errors you're seeing, like the empty_event_name and missing values
- They can look into your specific ad account and pixel setup to identify the root cause

Installing the pixel through the official TikTok app is recommended for Shopify, as it simplifies the setup process. But if issues continue, methodically testing and ruling out potential problems should help narrow it down. Don't hesitate to leverage TikTok's support for further assistance.

 

Was this helpful? Like or Accept solution - Buy me a coffee
- Contact me: Xipirons | WhatsApp
- Shopify Developer based in France, helping online merchants succeed

Crn1
Visitor
2 0 0

I do have the EXACT same issue man and I can't figure it out, have you found a solution to solve it ? 

PhilippeL
Visitor
3 0 0

Hi @Crn1,

 

I solved the issue! Had the same problem with my pixel on tiktok. 

Follow the next steps starting from the admin dashboard:

1. go to Settings

2. Customer Privacy

3. Activate the cookie banner

 

After this all my pixels fired up and they now work. Shopify does not allow your pixel to collect data without customers having the option to opt out.

 

Regards,

Crn1
Visitor
2 0 0

Hi @PhilippeL 

 

Thank you so much for your help, that's really nice of you! I've did those changes on the cookie banner like an hour ago but unfortunately, nothing changed. "Complete payment" is still the only optimization event that i can't choose on TikTok... I've tried to buy on my website to be sure that it wasn't an exterior issue and it worked, the payment / the order everything went as expected. 

Still, I've tried to buy on my website directly, by using the QR Code to test the event and everything worked EXCEPT the part where I'm paying aha. The classic display indicates that my payment is being processed, then all of a sudden I'm back on the payment page and my payment method has been removed, but my personal details are still listed (first and last name, delivery address...). So I can't finalize the payment via TikTok... which explains why I can't choose this "complete payment" optimization event. 

 

Anyway, thanks for your reply @PhilippeL wish you a nice day!


 

WriteProject
Excursionist
16 0 2

Helo @Crn1 
I have the same problem of you !
- Page view is okay
- Add to card is okay
- Complete Payment - Nothing, We made an Event Builder for this event with urls that contain "/thank_you" but any event for this...

Do you solved your issue ? 
Thank you in advance 🙂

LukasBergner
Visitor
1 0 0

If using Chrome and it still didn't show up, try opening it in incognito and accept your cookies:

1. Install the Tiktok Pixel Helper
2. make sure you use a active cookie banner (the one from Shopify works completely fine
 -- admin -> costumer Privacy -> activate cookie banner
3. enable the tiktok pixel app to work on incognito

ttph 2.PNG

ttph 3.PNG

4. open your website on incognito and accept your cookie banner. it should be working

thats how it fixxed it for me. hope this helps!