Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Shopify Web pixel ClientId is null for a few events

Shopify Web pixel ClientId is null for a few events

Bear2024
Shopify Partner
7 0 3

Hi I am seeing some pixel events doesn't have a corresponding clientId from its pixel when I log it, is it a bug from my end or Shopify Pixel does sometime have empty pixel clientId for some events because the customer rejected cookie or something?

Reply 1 (1)

Liam
Community Manager
3108 344 910

Hi - I've checked with our team and clientId is stored in a cookie, so when cookies are disabled it would make sense to not have a client ID. We're looking into having a default ID in case where cookies are disabled to help with analytics.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog