All things Shopify and commerce
I can see the facebook pixel call from the shopify. I need to stop that one, which comes from the source code. And I notice in dev console named as trekkie, but unable to find the trekkie code in theme.liquid of shopify. Even I tried to remove the code using the below comment, still I'm facing the facebook pixel call was firing
{% comment %}{{ content_for_header }}{% endcomment %}
{{ content_for_header | replace:'xxxxxxxxxxxxxxxxxxxxx', ''}}
Please help me on this ASAP
Why do you need to stop it?
I want to track the facebook pixel through GTM instead of tag from shopify
There is another method for this purpose that must need to address too.
Trekkie code cause double count on pageviews ang it makes the bounce rate on GA dropped.
Hi Prithiba,
Have you ever to solve this?
we're having the same issue. trekkie code cause double pageviews and makes bounce rate dropped on GA.
Thanks
I have the same issue. Did you ever figure out a solution?
I have the same issue, trekkie is terrible....
Have you find a way to fix it??
I just found out how to stop Trekkie.
You just need to add this code at the very top of tour theme.liquid, just below the <head> tag:
window.trekkie = {
load: function(config) {
if (config && config['Facebook Pixel']) {
// Block Trekkie
delete config['Facebook Pixel'];
console.log("Blocked Facebook Pixel configuration for trekkie.");
}
}
};
This will allow you to stop the whole Trekkie tracking code, not just facebook as shown in the code.
Hope to help!
Does anyone can confirm is it really working?
I just tried it and I can confirm that it works (at least for page_views being blocked, i haven't checked with facebook), but it needs to be wrapped in <script>. So, revised version:
<script>
window.trekkie = {
load: function(config) {
if (config && config['Facebook Pixel']) {
// Block Trekkie
delete config['Facebook Pixel'];
console.log("Blocked Facebook Pixel configuration for trekkie.");
}
}
};
</script>
I noticed that trekkie is firing a wrong consent mode: did you noticed the same?
thanks!
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024