Published on 8/7/2025 Staff Pick

Solved: Pixel Tracking Limitations with Shopify Buy Button

Inside this article, you'll discover:

My website uses Wordpress and the Shopify buy button. How bad is tracking gonna be if I wanna use a pixel? I havent started meta ads yet, been trying to figure them out for a few days. Should I just do the Shopify api now or is the buy button ok for tracking stuff?

Mentioned On*

Bloomberg MarketWatch Reuters BUSINESS INSIDER National Post

Hi there,

Thanks for reaching out. Saw your question about the Shopify buy button and getting your Meta pixel set up on Wordpress. It's a common enough situation, so don't worry, you're not going to be massively limited. It can be a little bit more fiddly than a native Shopify store, but it's definately solvable.

I'm happy to give you some initial thoughts. To be honest, getting the pixel code on the page is the easy bit. The real work, the stuff that determines if you make money or just give it to Meta, starts after that. I'll walk you through how I'd approach it, from the tecnical setup to the actual strategy that gets results. It's a bit of a read, but I reckon it'll be more helpful than just a one-line answer.

We'll need to look at getting the pixel firing correctly first...

Right, so the first job is the pixel. Your setup – a Wordpress site with a Shopify buy button – creates what's called a cross-domain tracking situation. A user starts on your `yourbrand.com` domain and then, when they click 'buy', they get sent over to Shopify's checkout domain. The Meta pixel needs to understand that this is the same user continuing their journey, not two different people.

If you just slap the standard pixel on your Wordpress header and hope for the best, it's not going to work properly. You'll see people visiting your product pages, but then the trail will go cold. You won't see `AddToCart`, `InitiateCheckout`, or most importantly, `Purchase` events, because they are all happening on Shopify's domain.

Without that purchase data, Meta's algorithm is flying blind. You can't optimise for sales, you can't build accurate lookalike audiences of your buyers, and your retargeting will be guesswork. It's like trying to drive a car with the windscreen painted black. You need to fix this before you even think about spending a pound on ads.

So what you need to do is ensure you have the Meta pixel installed on both your Wordpress site and within your Shopify settings. In Shopify, you can add the pixel ID under Online Store -> Preferences -> Facebook Pixel. Shopify has a native integration that handles the checkout events (`InitiateCheckout`, `AddPaymentInfo`, `Purchase`) pretty well. For your Wordpress site, you'll need to install the base pixel code and then you'll have to manually set up the events for actions that happen there, mainly `ViewContent` (when someone looks at a product page) and `AddToCart` (when they click your buy button).

You can use a plugin on Wordpress to help with this, or use Google Tag Manager which gives you more control. The key thing is that both the Wordpress pixel and the Shopify pixel are using the exact same Pixel ID. This allows Meta to stitch the user's journey together across the two domains. Once it's set up, you need to use the 'Events Manager' in your Meta Business account and its 'Test Events' tool to go through a full purchase journey on your site. You should see each event fire in order: `PageView` -> `ViewContent` -> `AddToCart` -> `InitiateCheckout` -> `Purchase`. If any of them are missing, you have a problem to fix. Don't skip this. It's tedious, but absolutely fundamental.

I'd say you need to diagnose your funnel before spending a penny...

Okay, let's assume you've got the tracking sorted. Now for the bit everyone gets wrong. They throw some money at an ad, point it at their homepage, and wonder why nobody buys anything. Before you launch a campaign, you need to act like a detective and investigate your own website. Your analytics are the scene of the crime.

The number one reason ads 'don't work' has nothing to do with the ad itself. It's because the website, the product page, or the offer is broken. The ads are doing their job – they're bringing people to the site – but the site isn't doing its job of converting them. You need to figure out where people are dropping off. Think of it as a leaky bucket. No point pouring more water (traffic) in until you've plugged the biggest holes.

Here's how I break it down when looking at a new eCom client's site:

Leak #1: Homepage to Product Page Drop-off
You're getting clicks on your ads, people are landing on your site, but very few are actually clicking through to view a specific product. What does this tell you?
-> The traffic is wrong. Your ad targeting is off. You're bringing people who have zero interest in what you sell. We'll get to targeting later, but this is a big red flag.
-> Your homepage is confusing or unappealing. Does it load slowly? Is it a mess of different products with no clear direction? Does it instantly communicate what you sell and why someone should care? Your homepage has one job: get someone to the next step, which is usually a category or product page. If it's failing at that, you need to simplify and clarify.

Leak #2: Product Page to Add To Cart Drop-off
This is a really common one. You get loads of people looking at your products, but almost nobody adds them to the basket. This is where you need to be brutally honest with yourself.
-> Your product photography is poor. People can't touch or feel the product online. Your photos have to do all the work. Are they high-resolution? Do they show the product from multiple angles? Is there a photo of it in use, or on a model to show scale? I remember one client selling apparel; their sales shot up when we convinced them to switch from flat-lay photos to ones on actual people. It makes a huge difference.
-> Your product description is weak. Does it just list features, or does it sell the benefit? "100% cotton" is a feature. "Incredibly soft and breathable for all-day comfort" is a benefit. Don't just describe what it is; describe what it does for the customer.
-> Your pricing or offer is wrong. Are you much more expensive than your competiton without a clear reason why? Is shipping a huge extra cost that's only revealed at the checkout? People are savvy. They'll have three other tabs open comparing your product. Maybe you need a bundle deal, a first-time-buyer discount, or free shipping to get them over the line.

Leak #3: Add To Cart to Purchase Drop-off
This one is the most painful. They want it. They've put it in their basket. But something stops them from finishing the purchase.
-> Your checkout process is a nightmare. Do they have to create an account? Do you ask for a thousand pieces of information? Every extra field you ask for, every extra click, is a chance for them to give up. Make it as simple and frictionless as possible.
-> There are surprise costs. The classic is a massive shipping fee appearing at the last second. It feels like a bait-and-switch and it kills conversions. Be upfront about all costs.
-> Your site doesn't look trustworthy. This is huge for a new brand. Why should I give my credit card details to a website I've never heard of? You need trust signals. Customer reviews, logos of payment providers (Visa, PayPal), a clear returns policy, a physical address, a contact number. All these little things tell a buyer's subconscious that you're a legitimate business and not some scam that's going to dissapear with their money.

You have to analyse this journey and find your biggest leak. Fixing a 10% drop-off on your product page will have a much bigger impact on your revenue than tweaking the colour of an ad button.

We'll need to look at who you're *really* selling to...

Once your site is in a better place, you need to think about targeting. And here's where I see so many new advertisers go wrong. They think in terms of broad demographics. "I sell to women aged 25-40 who like yoga". That's a start, but it's lazy and it tells you almost nothing of value.

You need to forget demographics and define your ideal customer by their pain. Their specific, urgent, expensive nightmare. Your product is the solution to that nightmare. Your ICP isn't a person; it's a problem state.

Let's imagine you sell high-quality, minimalist leather wallets.
-> The demographic approach is "Men, 30-50, interested in fashion, high income". Your ad will be generic. "Buy our stylish leather wallets". It will get lost in the noise.
-> The pain-based approach is different. What's the nightmare? The nightmare is sitting on a bulky, overstuffed "George Costanza" wallet that ruins the line of your trousers and causes back pain. The nightmare is fumbling through a dozen old receipts and loyalty cards just to find your debit card. The nightmare is the embarrassment of pulling out a worn-out, tattered wallet on a date or in a business meeting. It signals disorganisation. It's a tiny thing that makes you feel less put-together.

Now you have something to work with. Your ad isn't "Buy our wallet". It's "Is your wallet a source of back pain and embarrassment? Ditch the bulk. Carry only what you need in a wallet designed for the modern man." See the difference? You're entering the conversation already happening in their head. You're not selling a product; you're selling relief from a specific annoyance.

This pain-based approach should inform everything. The copy in your ads, the images you use (e.g., a slim wallet fitting perfectly in a pocket vs a bulky one), the text on your landing page. You need to become an expert in their frustration. What podcasts do they listen to? What blogs do they read? What other brands do they admire that solve similar problems of 'elegant simplification'? This is the real work of targeting. The 'interests' you select in Meta Ads should be a reflection of this deep understanding, not a random list of hobbies.

You probably should structure your campaigns to find buyers, not viewers...

Right, you've got a solid website, you know who you're talking to and what their pain is. Now you can finally build a campaign. And for god's sake, do not, under any circumstances, run a 'Brand Awareness' or 'Reach' campaign.

When you tell Meta you want 'Reach', you are giving it a direct order: "Find me the cheapest people to show my ad to". And the algorithm does exactly that. It finds the users who never click, never engage, and certainly never buy anything. Their attention is cheap for a reason. You are actively paying Meta to find the worst possible audience for your product. It's the fastest way to burn your budget for zero return.

As a new eCommerce brand, your only objective should be Conversions, specifically optimised for the Purchase event. This tells the algorithm "Ignore everyone else. Go and find me the people within my target audience who have a history of actually buying things online, and who look like the people who have already bought from me." It costs more per impression, but you're fishing in a pond full of fish, not a desert.

Now, how do you structure this? I generally use a simple funnel-based approach:

1. A Prospecting Campaign (Top of Funnel - ToFu)
-> Objective: Conversions (Purchase).
-> Audience: This is where you test your 'pain-based' audiences. Create different ad sets for different interest groups. For our wallet example, one ad set might target interests like 'minimalism', 'James Bond', and high-end design magazines. Another might target followers of competitor brands like Bellroy or Ridge. A third could be a lookalike audience (once you have enough purchase data - you'll need at least 100 purchases to get a decent lookalike).
-> Creative: Your ads here need to grab attention and introduce the problem and solution quickly. Video often works well.

2. A Retargeting Campaign (Middle/Bottom of Funnel - MoFu/BoFu)
-> Objective: Conversions (Purchase).
-> Audience: These are people who have already visited your site but didn't buy. They are your warmest audience. You should have seperate ad sets for different levels of intent.
-> Ad Set 1: Viewed a Product Page in the last 14 days (but didn't add to cart). Show them a different ad, maybe a customer testimonial for that product.
-> Ad Set 2: Added to Cart in the last 7 days (but didn't purchase). This is your hottest audience. Hit them with an ad that overcomes a final objection. Maybe mention your easy returns policy, or even offer a small, time-sensitive discount like "Complete your order now for 10% off".
-> Creative: The ads here can be more direct. "Still thinking about it?" or "Did you forget something?". Dynamic Product Ads (DPAs) work brilliantly here, as they'll automatically show the person the exact product they were looking at.

Here is a very basic structure to visualise it:

Campaign Ad Set Audience Purpose
CBO Prospecting - Conversions (Purchase) Ad Set 01 - Interests (Design) Interests: Minimalism, Design Magazines, Competitor A Find new customers who value aesthetics.
Ad Set 02 - Lookalikes 1% Lookalike of all purchasers (when available) Find new people who behave like your existing customers.
Retargeting - Conversions (Purchase) Ad Set 01 - Website Visitors Visited website in last 30 days (exclude purchasers) Bring back casual browsers.
Ad Set 02 - Cart Abandoners Added to Cart in last 7 days (exclude purchasers) Recover lost sales from high-intent users.

You start by putting most of your budget into the Prospecting campaign to feed the funnel. Then the Retargeting campaign works to convert those interested prospects. You have to run both. Prospecting alone is inefficient; retargeting alone will run out of people to talk to.

You'll need to be realistic about costs and returns...

So, what should you expect this all to cost? The honest answer is: it depends. It depends on your product's price, your website's conversion rate, your audience, and your creative. Anyone who gives you a fixed "cost per purchase" is lying.

However, we can work with some rough numbers. For eCommerce in developed countries like the UK or US, you might see a Cost Per Click (CPC) between £0.50 and £1.50. A decent eCommerce conversion rate is somewhere between 2% and 5%. Let's do the maths.

Worst Case: High CPC (£1.50) and Low Conversion Rate (2%). Your cost per purchase would be £1.50 / 0.02 = £75.
Best Case: Low CPC (£0.50) and High Conversion Rate (5%). Your cost per purchase would be £0.50 / 0.05 = £10.

Your actual cost will likely be somewhere in between. Your job is to improve your ads and targeting to lower your CPC, and improve your website and offer to increase your conversion rate. That's the whole game.

I remember a subscription box client we worked with. When they came to us, their cost per acquisition was all over the place. By rebuilding their campaigns with a proper structure and testing new creative, we got them to a stable 1000% Return On Ad Spend (ROAS). That meant for every £1 they spent on ads, they got £10 back in revenue. But that didn't happen overnight. It came from applying these principles consistently.

Here’s a simple table to illustrate the range for sales in developed countries:

Objective: Sales - Developed Countries
Low CPC £0.50
High CPC £1.50
Low Conversion Rate 2%
High Conversion Rate 5%
Low CPA (Best Case) £10.00
High CPA (Worst Case) £75.00

The goal isn't just to get a low CPA. The goal is to get a *profitable* CPA. If you sell a wallet for £100 with a £70 profit margin, a £30 CPA is fantastic. A £10 CPA is god-tier. A £75 CPA is a disaster. You need to know your numbers.

This is the main advice I have for you:

I know that was a hell of a lot of information to take in. The world of paid advertising is complex, and it's very easy to get lost and waste a lot of money. The key is to be systematic.

I've put my main recommendations for you into a table below. This is the checklist I would follow if I were in your shoes.

Area of Focus Actionable Recommendation Why It Matters
1. Technical Setup Verify your Meta pixel installation across both Wordpress and Shopify using the 'Test Events' tool. Ensure `ViewContent`, `AddToCart`, `InitiateCheckout`, and `Purchase` events are all firing correctly. Without accurate data, optimisation and retargeting are impossible. This is the non-negotiable foundation for everything else.
2. Funnel Audit Before spending, analyse your website analytics to identify the biggest drop-off point: Homepage -> Product, Product -> Cart, or Cart -> Purchase. Address that specific leak first (e.g., improve photos, clarify copy, simplify checkout). Fixing your website's conversion rate is the cheapest and most effective way to improve your ad performance. Don't pay to send traffic to a leaky bucket.
3. Audience Definition Define your Ideal Customer Profile (ICP) based on their specific, urgent pain-point or frustration, not just broad demographics. All ad creative and copy should speak directly to solving this pain. This makes your ads resonate on an emotional level, cutting through the noise and attracting people who are actively looking for the solution you provide.
4. Campaign Strategy Set up seperate Prospecting and Retargeting campaigns. Both must have the 'Conversions' objective, optimised for 'Purchase'. Do not use 'Reach' or 'Awareness' objectives. This structure commands the algorithm to find actual buyers, not just cheap viewers, and allows you to talk to new and returning customers with the right message.
5. Budget & Testing Allocate a test budget you are comfortable losing. Start with at least two different interest-based audiences in your Prospecting campaign and at least two different ad creatives to see what resonates. You will not get it right on day one. Advertising is a process of testing, learning, and iterating. You need to find your winning combination of audience and creative.


This is obviously a lot to manage on your own, especially when you're also trying to run a business. Getting these foundations right from the start can be the difference between a brand that thrives and one that runs out of cash in three months.

That's where professional help can make a huge difference. An experienced eye can spot the leaks in your funnel, identify the right audiences, and build campaign structures that are designed for profitability from day one, helping you avoid costly mistakes. We've helped numerous eCommerce clients, like the women's apparel brand I talked about earlier, which we took to a 691% return, by implementing these exact strategies.

If you'd like to go over your specific situation in more detail, we offer a free, no-obligation initial consultation where we can take a look at your website and plans and give you some clear, actionable advice. It might be a good next step once you've had a chance to digest all of this.

Either way, I hope this detailed breakdown has been genuinely helpful and gives you a much clearer path forward. Best of luck with the launch.

Regards,

Team @ Lukas Holschuh

Real Results

See how we've turned 5-figure ad spends
into 6-figure revenue streams.

View All Case Studies
$ Software / Google Ads

3,543 users at £0.96 each

A detailed walkthrough on how we achieved 3,543 users at just £0.96 each using Google Ads. We used a variety of campaigns, including Search, PMax, Discovery, and app install campaigns. Discover our strategy, campaign setup, and results.

Implement This For Me
$ Software / Meta Ads

5082 Software Trials at $7 per trial

We reveal the exact strategy we've used to drive 5,082 trials at just $7 per trial for a B2B software product. See the strategy, designs, campaign setup, and optimization techniques.

Implement This For Me
👥 eLearning / Meta Ads

$115k Revenue in 1.5 Months

Walk through the strategy we've used to scale an eLearning course from launch to $115k in sales. We delve into the campaign's ad designs, split testing, and audience targeting that propelled this success.

Implement This For Me
📱 App Growth / Multiple

45k+ signups at under £2 each

Learn how we achieved app installs for under £1 and leads for under £2 for a software and sports events client. We used a multi-channel strategy, including a chatbot to automatically qualify leads, custom-made landing pages, and campaigns on multiple ad platforms.

Implement This For Me
🏆 Luxury / Meta Ads

£107k Revenue at 618% ROAS

Learn the winning strategy that turned £17k in ad spend into a £107k jackpot. We'll reveal the exact strategies and optimizations that led to these outstanding numbers and how you can apply them to your own business.

Implement This For Me
💼 B2B / LinkedIn Ads

B2B decision makers: $22 CPL

Watch this if you're struggling with B2B lead generation or want to increase leads for your sales team. We'll show you the power of conversion-focused ad copy, effective ad designs, and the use of LinkedIn native lead form ads that we've used to get B2B leads at $22 per lead.

Implement This For Me
👥 eLearning / Meta Ads

7,400 leads - eLearning

Unlock proven eLearning lead generation strategies with campaign planning, ad creative, and targeting tips. Learn how to boost your course enrollments effectively.

Implement This For Me
🏕 Outdoor / Meta Ads

Campaign structure to drive 18k website visitors

We dive into the impressive campaign structure that has driven a whopping 18,000 website visitors for ARB in the outdoor equipment niche. See the strategy behind this successful campaign, including split testing, targeting options, and the power of continuous optimisation.

Implement This For Me
🛒 eCommerce / Meta Ads

633% return, 190 % increase in revenue

We show you how we used catalogue ads and product showcases to drive these impressive results for an e-commerce store specialising in cleaning products.

Implement This For Me
🌍 Environmental / LinkedIn & Meta

How to reduce your cost per lead by 84%

We share some amazing insights and strategies that led to an 84% decrease in cost per lead for Stiebel Eltron's water heater and heat pump campaigns.

Implement This For Me
🛒 eCommerce / Meta Ads

8x Return, $71k Revenue - Maps & Navigation

Learn how we tackled challenges for an Australian outdoor store to significantly boost purchase volumes and maintain a strong return on ad spend through effective ad campaigns and strategic performance optimisation.

Implement This For Me
$ Software / Meta Ads

4,622 Registrations at $2.38

See how we got 4,622 B2B software registrations at just $2.38 each! We’ll cover our ad strategies, campaign setups, and optimisation tips.

Implement This For Me
📱 Software / Meta & Google

App & Marketplace Growth: 5700 Signups

Get the insight scoop of this campaign we ran for a childcare services marketplace and app. With 5700 signups across two ad platforms and multiple campaign types.

Implement This For Me
🎓 Student Recruitment / Meta Ads

How to reduce your cost per booking by 80%

We discuss how to reduce your cost per booking by 80% in student recruitment. We explore a case study where a primary school in Melbourne, Australia implemented a simple optimisation.

Implement This For Me
🛒 eCommerce / Meta Ads

Store launch - 1500 leads at $0.29/leads

Learn how we built awareness for this store's launch while targeting a niche audience and navigating ad policies.

Implement This For Me

Featured Content

The Ultimate Guide to Stop Wasting Money on LinkedIn Ads: Target Ideal B2B Customers & Drive High-Quality Leads

Tired of LinkedIn Ads that drain your budget and deliver poor results? This guide reveals the common mistakes B2B companies make and provides a proven framework for targeting the right customers, crafting compelling ads, and generating high-quality leads.

July 26, 2025

Find the Best PPC Consultant in London: Expert Guide

Tired of PPC 'experts' who don't deliver? This guide reveals how to find a results-driven PPC consultant in London, spot charlatans, and ensure a profitable ad strategy.

July 31, 2025

The Complete Guide to Google Ads for B2B SaaS

B2B SaaS Google Ads a money pit? Target the WRONG people & offer demos nobody wants? This guide reveals how to fix it by focusing on customer nightmares.

August 15, 2025

Fix Failing Facebook Ads: The Ultimate Troubleshooting Guide

Frustrated with Facebook ads that burn cash? This expert guide reveals why your campaigns fail and provides a step-by-step strategy to turn them into profit-generating machines.

July 31, 2025

Solved: Video ads or still images on Facebook Ads?

I'm trying to figure out if I should make video ads or just use still images on Facebook. Because it's a newer solution to business problems, I'm thinking of using still images to get a simple message across to users. What do you all recommend?

August 4, 2025

Solved: Best bid strategy for new Meta Ads ecom account?

Im starting a new meta ads account for my ecom company and im not sure what bid strategy to use.

July 18, 2025

B2B Social Media Advertising: Generate Leads on LinkedIn & Meta

Unlock the power of B2B social media advertising! This guide reveals how to choose the right platforms, target your ideal customers, craft compelling ads, and optimize your campaigns for lead generation success.

August 4, 2025

The Complete Guide to Meta Ads for B2B SaaS Lead Generation

B2B SaaS ads failing? You're likely making these mistakes. Discover how to fix them by targeting pain points and offering instant value, not demos!

August 17, 2025

Building Your In-House Paid Ads Team vs. Hiring an Agency: A Founder's Decision Framework

Struggling to decide between an in-house team and an agency? Discover a founder's framework that avoids costly mistakes by focusing on speed, expertise, and risk mitigation. Learn how a hybrid model with a junior coordinator and the agency will let you scale faster!

August 8, 2025

Google Ads vs. Meta Ads: A Data-Driven Framework for E-commerce Brands

Struggling to choose between Google & Meta ads? E-commerce brands, discover a data-driven framework using LTV. Plus: Target search intent & ad creative tips!

August 19, 2025

Solved: Need LinkedIn Ads Agency for B2B SaaS in London

I'm trying to find an agency that know how to run LinkedIn ads for B2B SaaS, but I'm having a tough time finding someone in London that get it.

July 31, 2025

The Small Business Owner's First Paid Ads Campaign: A Step-by-Step Guide

Struggling with your first paid ads? It's likely you're making critical foundational mistakes. Discover how defining your customer's 'nightmare' and LTV can unlock explosive growth. Plus: high-value offer secrets!

August 19, 2025

Unlock The Ad Expertise You're Missing.

Free Consultation & Audit