If you run influencer campaigns in Morocco and evaluate their performance using Shopify referral data or Meta attribution, you are measuring the wrong thing and you will always undercount your results.
The problem is structural. Between 65-75% of Moroccan e-commerce buyers pay cash on delivery (Glorythm campaign data, Morocco 2026). The COD purchase path routes through WhatsApp conversations and phone confirmations that are invisible to every standard analytics tool. UTM parameters, Meta pixel events, Shopify referrals, and Google Analytics all fail to capture a meaningful share of influencer-driven COD orders.
This creates a specific measurement problem for Moroccan brands: the channel appears to underperform in the data while it may be working well in reality. Brands that measure only what their tools can see often cancel campaigns that are actually profitable, because the profitable portion was invisible.
This guide gives you the practical methodology to measure actual influencer ROI in Morocco, accounting for the COD attribution gap.
Why Standard Attribution Fails for COD Markets
In a card-payment market, the influencer attribution chain is clean:
- Creator posts with link in bio
- Buyer clicks UTM-tagged link
- Buyer adds to cart and checks out
- Shopify records the session with referral source
- Meta records the purchase event via pixel
- You see the attribution in your dashboard
In a COD market, the chain breaks at multiple points:
- Creator posts
- Buyer watches the video and thinks "I want this"
- Buyer visits the brand's Instagram directly (no click from the creator's post)
- Buyer navigates to the website without UTM parameters
- Buyer sends a WhatsApp message to ask about sizes
- Brand answers and confirms the order
- Delivery driver shows up, buyer pays cash
- Shopify records a COD order with no referral source
The influencer was the discovery channel. Nothing in your analytics shows it.
This is not a failure of the campaign. It is a failure of the measurement approach applied to a market that operates differently from the analytics tools' assumed purchase flow.
The Four Attribution Methods That Work in Morocco
Method 1: Unique Discount Codes
Assign each influencer their own discount code before the collaboration begins. The code does not need to offer a large discount. Even 5-10% off is enough to motivate buyers to use it, and the low discount cost is far outweighed by the attribution data.
Setup:
- Create a unique Shopify discount code per creator: CODE_SARA, CODE_LEILA, CODE_FATIMA
- Include the code in the brief as the creator's CTA: "Use my code SARA for 10% off your first order"
- The code should appear in the creator's caption and in the verbal CTA of the video
- Track usage in Shopify under Discounts > Reports
What this captures:
- COD orders where the buyer remembered and used the code
- Online card orders using the code
What this misses:
- COD orders where the buyer did not use the code (common: buyers WhatsApp to order and forget the code)
- Buyers who saw the content but ordered later without the code
Discount code attribution typically captures 30-50% of actual influencer-driven orders in Morocco. It is the most reliable direct attribution signal but systematically undercounts.
Method 2: WhatsApp Inquiry Tagging
Every WhatsApp order inquiry is a conversation. That conversation is an attribution opportunity.
Setup:
- Train your WhatsApp order team to ask one question at the start of every inquiry: "How did you hear about us?"
- Record the answer in a simple tracking sheet: date, influencer name mentioned (or "Instagram", "saw a video", "a friend told me"), and order value if confirmed
- Review this data weekly
What this captures:
- COD orders where the buyer actively recalls the discovery source
- Word-of-mouth orders traced back to influencer campaigns
- Quality data on which creators drive buyers who actually convert vs just browse
What this misses:
- Buyers who discovered via influencer but do not actively recall or mention it
- Buyers who prefer not to share how they found the brand
WhatsApp inquiry attribution typically captures 40-60% of influencer-driven orders, depending on how consistently the team asks the question and how recently the influencer posted.
Method 3: UTM Parameters on Link in Bio
Even though most COD buyers do not click directly from the creator's post, some do. UTM parameters on the link in bio capture these direct clickers.
Setup:
- Build a unique UTM-tagged URL for each influencer:
https://yourbrand.com/?utm_source=instagram&utm_medium=influencer&utm_campaign=sara_june2026 - Use Linktree or a direct product link with the UTM appended
- Track in Google Analytics under Acquisition > Campaigns
What this captures:
- Direct click-through sessions from the influencer's link in bio
- Sessions from Story swipe-ups (if the creator has 10,000+ followers)
What this misses:
- All indirect traffic (buyers who type the URL directly or search the brand)
- COD orders that went through WhatsApp
UTM attribution typically captures 10-25% of influencer-driven orders in Morocco. It is valuable for comparing relative performance between creators but should not be used as the sole ROI measure.
Method 4: Traffic and Brand Search Spikes
Beyond individual order attribution, influencer campaigns create measurable signals at the brand level.
What to track:
| Signal | Tool | What it shows |
|---|---|---|
| Website sessions spike | Google Analytics | Day-of and day-after traffic lift from post |
| Brand search queries | Google Search Console | Weekly branded search volume lift |
| Instagram profile visits | Instagram Insights | Profile visit spike after posting |
| Instagram new follower rate | Instagram Insights | Follower growth correlated with campaign |
| Direct Shopify sessions | Shopify Analytics | Sessions with no referral source (direct type-in) |
A well-executed influencer campaign in Morocco typically produces a 3-7x spike in website sessions on the day of posting, a 20-40% increase in branded Google searches in the week following, and a measurable increase in Instagram profile visits from non-followers.
None of these signals attribute individual orders. Together, they confirm the campaign drove real interest that the direct attribution methods only partially captured.

The Blended ROI Calculation
Using all four methods together gives you a blended picture of influencer campaign performance. Here is how to calculate it:
Step 1: Gather all attributed orders
- Discount code orders: X units, Y total MAD revenue
- WhatsApp-attributed orders ("how did you hear about us?" responses): X units, Y total MAD revenue
- UTM-tracked orders: X units, Y total MAD revenue
- (Do not double-count orders that appear in multiple attribution channels)
Step 2: Apply an attribution multiplier
Based on Glorythm campaign data across Moroccan brands (2025-2026), the three direct attribution methods together typically capture 50-70% of actual influencer-driven orders. If your direct attribution shows 30 orders, actual influencer-driven orders are likely 43-60.
Conservative approach: multiply directly attributed orders by 1.4 (assume methods captured 70% of actual)
Middle approach: multiply by 1.7 (assume methods captured 60% of actual)
Step 3: Calculate blended cost per order
- Total influencer spend (creator fees + product cost + usage rights if applicable)
- Divide by adjusted total orders (direct attributed x multiplier)
- Result: blended cost per order from the influencer channel
Step 4: Compare to Meta ads cost per order
- Pull your Meta ads cost per purchase for the same period
- Compare to the influencer blended cost per order
For most Moroccan fashion brands with an established micro-influencer roster, the blended influencer cost per order ranges from 80-200 MAD, depending on influencer tier and discount code adoption rate. If your Meta ads cost per purchase is 180-300 MAD, the influencer channel is competitive or superior even at the conservative attribution estimate.
Setting Up a Campaign Tracking Sheet
Simplicity is more likely to be maintained than a complex system. A basic tracking sheet with these columns captures what you need:
| Column | What to record |
|---|---|
| Creator name / handle | @sara_casablanca |
| Platform | Instagram / TikTok |
| Post date | 2026-06-15 |
| Discount code | CODE_SARA |
| Code uses (from Shopify) | 12 |
| WhatsApp mentions ("how heard") | 8 |
| UTM clicks (from GA) | 47 |
| Total directly attributed orders | 20 |
| Estimated actual orders (x1.5) | 30 |
| Creator fee (MAD) | 1,200 |
| Product sent value (MAD) | 350 |
| Total spend (MAD) | 1,550 |
| Blended cost per order (MAD) | 52 |
| Notes | Strong WhatsApp response, audience asked about COD |
One row per creator per campaign. Review monthly. After three campaigns with the same creator, the blended cost per order tells you clearly whether to continue the collaboration or redirect the budget.
Measuring Brand-Level Impact Over Time
Beyond campaign-by-campaign ROI, sustained influencer presence creates brand-level effects that show up in metrics that are not captured per campaign.
Metric: Organic search volume for your brand name
Google Search Console shows how many people search for your brand name monthly. As influencer campaigns build brand familiarity, this number should grow. A brand with 200 monthly branded searches in January that has sustained influencer presence often sees 800-1,200 branded searches by July. Each of those searchers is a potential buyer who discovered the brand through influencer content but searched later to find it again.
Metric: COD confirmation rate