Facebook Pixel Settings for a Shopify Site
What is the problem:
I set up Facebook sales channel and set up everything in order.The pixel is active, the events run, match quality is good.I have set up Pixel tracking + server API tracking (all according to the instructions, but it may be somewhere wrong), the number of events inside the Event Manager looks quite accurate.However, the purchase events are not displayed in the Ad Manager (page views, ATC and ICH are displayed, but in approximately 20% of cases).After that I set UTM tracking through Google Analytics, and the sales really went, just Facebook for a reason didn’t want to show them inside the Ad Manager.What I’ve tried to do:
Create a new advertising account
Create a new pixel.
- Change the original theme to the standard (now “Debut”)
- Reset the pixel/reset the sales channel
Nothing of this.Then I added one script that I found on the Shopify forum to Additional scripts (the script is attached below), and Purchase events began to appear in my Ad Manager, but the data was incorrect.At least, the sales are twice, sometimes more, the Purchase Conversion Value is also incorrect, sometimes it shows the sales for a amount that is generally impossible to in my store (conditionally, it shows 24 euros, and I have no one product to be sold at such a price).The script that I added:
(Tags Screenshot Ubral, Why They Don't Miss Freelance Hunt)
The Start Base Code
Function (f, b, e, v, n, t, s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments): n.queue.push(arguments)}
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
‘https://connect.facebook.net/en_US/fbevents.js’);
Initialize the pixel code
fbq ('init', 'Pixel of my site');
The end base code
Purchasing Pixel Code
fbq('track', 'Purchase', {currency: "EUR", value: {{ total_price♰ money_without_currency♰ remove:',' }} });
In short, without the script simply through the sales channel no purchases are displayed, with the script is displayed at least twice the purchases and completely incorrect Purchase Conversion Value.Please help me 🙂
P.S. I had a similar problem with TikTok, he was perfectly tracking the ATC and the checkouts, but didn’t track the sales.That’s why I’ve added another script to Additional scripts for him, and now TikTok works well.So, the real problem may be somewhere deeper.
-
Не знаю в чем у тебя проблема там все через партнерскую интеграцию настраивается, чекаут браузерное событие он не дает отслеживать если у тебя не самого высокого уровня тариф. Но через партнерскую работает так себе, качество сопоставления плохое на уровне 4-5
-
Current freelance projects in the category Web Programming
Automation of sending KP messages on LinkedIn, WhatsApp, Reddit
223 USD
Automation is needed for sending messages with a link to the KP on LinkedIn, WhatsApp, Reddit. Please describe how this will be implemented, the timeline, and the cost. AI & Machine Learning, Web Programming ∙ 7 hours 3 minutes back ∙ 28 proposals |
Acceleration of website performance (code optimization)
45 USD
1. It is necessary to analyze the website and optimize the code for fast loading of the site. 2. Conduct an analysis of the website for errors and fix them. Web Programming ∙ 12 hours 10 minutes back ∙ 56 proposals |
Moving from Hosting to AnotherGood day I plan to transfer the website from the hosting in Ukraine to hosting.works. Also, it is necessary to set up a rule that if the traffic from a certain IP exceeds, for example, 100 requests per day, it should be blocked. Content Management Systems, Web Programming ∙ 15 hours 44 minutes back ∙ 77 proposals |
Creation of a website for a recruitment agency
1115 USD
We are a recruitment agency, and we are looking for an experienced web developer to create a modern and user-friendly website. We want to allow candidates to propose their own price for the service. Therefore, we are looking for a specialist who has experience in custom… Web Programming ∙ 16 hours 33 minutes back ∙ 112 proposals |
Improvement of site CR conversion
145 USD
Improvement of the website's CR conversion. Tasks according to the specifications https://docs.google.com/document/d/1Y7zipbe2IEnFpthYuheAr6QA_50aR2Fz8V14rp5NpNo/edit?usp=sharingBOOK NOW buttonphoto / videoshort textAND IMMEDIATELY the booking formfixed (sticky)to repeat every… HTML & CSS, Web Programming ∙ 19 hours 47 minutes back ∙ 37 proposals |