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!
User | RANK |
---|---|
41 | |
40 | |
24 | |
24 | |
22 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023