SEO, AdWords, affiliates, advertising, and promotions
Hello,
I've been setting up the Custom Pixel and I've run into quite some extensive amount of errors and usage problems.
I'll list them one by one below and I hope someone have found any fix to these problems.
Google Tag Manager Preview Mode don't work
You can't debug the Shopify Client-side Tracking using the Google Tag Manager Preview Mode. It does not load. Either you have to use the Facebook Test Event or check the GTM Server-side preview mode.
Facebook Pixel sending Sandbox URL
The "dl"-parameter in the Facebook request is sending the Sandbox URL. This can't be override in any Meta Tag settings.
Facebook Pixel register referrer URL instead of DL
When checking the Meta Test Event tool the URL that is being registered is the referrer URL.
My guess here is that Meta does identify the sandbox URL as a strange URL and fallbacks to the referrer URL.
So for example, when the dl=https://www.example.com/wpm@123/custom/web-pixel-123@321/sandbox/modern/sv/products/t-shirt the Meta Test Event tools shows https://www.example.com/sv/?utm_source=debug which is the "rl"-parameter
Two different behaviors — Normal vs. Incognito
When running Normal (Shopify logged in) and debugging the network request it does not mirrors how it works when running logged out in Incognito. Even if I clear all the cookies in Normal mode and runs exactly the same procedures, the tracking does not work as expected in Normal.
Event trigger behavior on Non-Shopify+ Checkout
The event "checkout_shipping_info_submitted" is being triggered whenever you edit the payment options. Shouldn't it be triggered when all the Shipping info is added — As the name of the event says?
Last words
I'm well aware that many of these issues stem from the functionality of Meta, GA4, and other tracking systems. However, these systems have been operating smoothly for years. So, wouldn’t it make more sense to create a tracking solution that integrates seamlessly with them, rather than developing a custom pixel that clearly doesn’t work well with the existing setup? The sandbox pixel is a total hassle and could have been avoided while maintaining good security measures as well.
Hi @JohannesOaklund , thank you for posting here!
You've identified some valid frustrations with Shopify's Custom Pixel and its integration with tracking systems like Google Tag Manager and Facebook Pixel. Here's a breakdown of your points and some potential solutions:
1. Google Tag Manager Preview Mode not working:
2. Facebook Pixel sending Sandbox URL:
3. Facebook Pixel registering referrer URL instead of DL:
4. Different behavior in Normal vs. Incognito mode:
5. "checkout_shipping_info_submitted" event trigger:
Last Words:
Alternatives:
Overall, Shopify's Custom Pixel presents some challenges. However, by understanding the limitations and using workarounds, you can still achieve your tracking goals.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024