Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
From last few days in receiving notification through my facebook pixel the my shopify store is sharing data of customers through Url query patameter. My store is related to multivitamins & supplements and because of that facebook is giving the warning to hide data of customers which is received by facebook pixel. Please guide me how to fix this issue. Thanks in advance
this is the exact message which I'm receiving on my facebook pixel. Please guide.
If possible, could we see the url in question?
"https://medicalmartpk.com/search?type=_removed_&q=_removed_&_filteredParams=_removed_"
Facebook has removed data from the link. where ever removed is written, it shows facebook has remove data from there.
In your link, anything after the '?' is a variable. Pixel is just saying no to anything after '?'
------------------------------------------------------------------------------------------------
//consider this example
www.my_example_store.com?item=rx&amount=4
//pieces. web page
www.my_example_store.com
// variables to start here
?
//first variable (example) (variable name)=(stored value) eg: name=mitchermich
item=rx
//begin next variable (this symbol tells marks the beginning of the next variable.
&
//the next variable. (really long links are usually structured like this.
amount=4
-------------------------------------------------------------------------------------------------
The next part depends on weather you're generating your link or if a program is generating it for you.
If you are, then you can remove anything after the '?' unless you need it for your site.
If you are not, then the answer gets a bit involved (depends)
Basically, Facebook throws a flag because of this format ->www.example_store.com?....
this is to discourage the use of exposed user data submitted in a form. It's right in the url and anyone can see it.
If you are just using it to load a cart or for promotions, you can still pass the data, but you'll have to change it as below to avoid facebook flagging it,
But you'll have to make the receiving webpage translate the data given in this format.
//if you control the site and want to bypass this issue, you can do this.
www.example_store.com/item/rx/amount/4
//breakdown
//site url
www.example_store.com
//first variable
/item/rx
//second variable
/amout/4
If a plugin is generating this link, maybe check if you can limit or remove variables in the generated url.
If you are simply linking the url yourself (copy paste) then you can alter the url to different temporary pages redirecting to whatever promotions or products your are promoting.
This is the base of the error. The cause would need looking into your store and settings or plugin responsible. If the problem persists, I'll check for a reply.
Thank you for the detailed response.
Let me clear I'm not generating these links on my own, nor I'm have installed any plugin.
in the light of the above clarification, please guide how to fix this issue.
all the events are receiving this error.
I'd have to study Facebook pixel a bit more to give you a concise answer.
For now I'm looking through articles like this one since I may try integrating pixel in my dev store in the future.
You may have better luck getting to the answer before me, but when I solve this problem, I'll share what I've learned.
Hello, I've joined a dev team and one of our members might be able to help you with the facebook pixel issue.
If you'd like for a professional to solve this for you, please let me know, and I'll get you connected.
Looking for someone that could help us with this, please.
Hi David, having the same issue. What was the solution?
Looking forward to your reply
I'm having this exact same issue where Facebook is flagging the native Shopify search query as exposing potentially sensitive medical info.
https://mysite.com/search?type=product&q=hello
"Review potentially violating health data"
Given that that adding search terms in the URL is standard behaviour for Shopify, has anyone found a fix?
any luck finding a solution? 🙂
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024