Imagine running Meta Ads for a retail brand. Your customers see your ads on Instagram, discover your products, and eventually visit one of your physical stores to make a purchase.
But what happens if Meta never receives information about those purchases?
Your campaigns might be generating more revenue than your advertising reports suggest. And Meta's algorithm is trying to optimize your campaigns without seeing a significant part of the customer journey.
This is where offline conversion tracking comes in.
With Hardal, you can connect your offline sales data to Meta Conversions API (CAPI) and help Meta understand which offline purchases may be connected to your advertising campaigns.
In this guide, we'll walk through how to prepare your offline sales data, send it to Hardal, connect Meta Conversions API, and handle historical conversion data.
What Is Meta Offline Conversion Tracking?
Meta offline conversion tracking allows businesses to share customer actions that happen outside their websites or mobile apps with Meta.
These actions can include:
- Purchases made in physical stores
- Sales completed through call centers
- Orders processed through POS systems
- CRM leads that become paying customers
- Transactions recorded in ERP systems
By sending this information through Meta Conversions API, you give Meta additional signals to measure advertising performance and optimize future campaigns.
The data flow looks like this:
Physical Stores / POS / CRM / ERP
|
v
Hardal
|
v
Meta Conversions API
|
v
Conversion Measurement & Ad Optimization
Instead of building separate integrations between your offline data sources and advertising platforms, you can use Hardal as a centralized measurement layer.
Step 1: Prepare Your Offline Sales Data
Before sending any data to Meta, you need to make sure your sales records are structured correctly.
Let's say you export your daily store transactions from your POS system as a CSV file.
Your data might look something like this:
| Receipt ID | Store | Product | Price | Quantity |
|---|---|---|---|---|
| 98765 | STORE-01 | T-shirt | 950 TRY | 1 |
| 98765 | STORE-01 | Jeans | 1,500 TRY | 1 |
| 98766 | STORE-02 | Jacket | 3,000 TRY | 1 |
There are three product rows, but only two actual purchases.
If you send each product row as a separate purchase event, you could accidentally inflate your conversion numbers.
Instead, group your products by receipt or transaction ID.
Your final purchase data should look like this:
| Transaction ID | Store | Revenue | Products |
|---|---|---|---|
| STORE-01-98765 | STORE-01 | 2,450 TRY | 2 |
| STORE-02-98766 | STORE-02 | 3,000 TRY | 1 |
The rule is simple: one transaction should generate one purchase event.
Which Purchase Parameters Should You Include?
When preparing your offline purchase events, include the following information whenever available:
| Parameter | Description |
|---|---|
transaction_id | Unique receipt or order ID |
value | Total purchase value |
currency | Three-letter currency code, such as TRY or USD |
items | Products included in the transaction |
store_code | Identifier of the physical store |
timestamp | Original purchase date and time |
customerId | Unique customer identifier |
If receipt numbers can be repeated across different stores, combine the store code and receipt number to create a unique transaction ID.
For example:
STORE-01-98765
STORE-02-98765
You should also make sure that your product IDs match the product IDs or SKUs used in your Meta product catalog.
Step 2: Include Customer Information for Better Event Matching
Sending purchase information alone is not always enough.
Meta also needs customer matching signals to understand whether someone who purchased a product in your store previously interacted with one of your ads.
For example, a customer might click an Instagram ad on Monday and purchase the advertised product in your physical store on Wednesday.
If you collect their phone number or email address during checkout, Meta may be able to connect these two actions.
This is why customer information plays an important role in offline conversion tracking.
Which Customer Parameters Should You Send to Meta?
| Customer Information | Meta Parameter | Priority |
|---|---|---|
| Email address | em | Very high |
| Phone number | ph | Very high |
| Customer or loyalty ID | external_id | High |
| First and last name | fn, ln | Recommended |
| City and country | ct, country | Recommended |
| Date of birth | db | Additional signal |
| Gender | ge | Additional signal |
| Meta Lead ID | lead_id | CRM use cases |
You do not need to collect every parameter listed above.
Start with the customer information you already collect through your POS system, loyalty program, or CRM, provided you have the appropriate permissions to use it for advertising measurement.
For many retail businesses, email addresses and phone numbers are a practical starting point.
The more accurate and relevant your customer matching signals are, the better Meta's chances of matching offline conversions to advertising interactions.
Step 3: Normalize and Hash Customer Data
Before customer information is sent to Meta, certain personal identifiers must be normalized and hashed using SHA-256.
Normalization means converting customer information into a consistent format.
For example:
| Original Value | Normalized Value |
|---|---|
| Customer@Example.com | customer@example.com |
| +90 (532) 123 45 67 | 905321234567 |
| ISTANBUL | istanbul |
| Turkey country code | tr |
| 14/05/1992 | 19920514 |
Once normalized, applicable customer identifiers are hashed using SHA-256 before being transmitted to Meta.
Why does this matter?
Even a small difference, such as an extra space in an email address or a missing country code in a phone number, can generate a completely different hash and prevent Meta from matching that identifier.
Customer Data Normalization Checklist
- Convert email addresses to lowercase and remove unnecessary spaces.
- Include the country code in phone numbers.
- Remove spaces, brackets, and punctuation from phone numbers.
- Use lowercase country codes.
- Format dates of birth as
YYYYMMDD. - Avoid hashing the same value twice.
Remember that not every Meta parameter requires hashing.
Parameters such as fbp, fbc, lead_id, client IP address, and user agent should not be hashed.
Before implementing your integration, confirm whether Hardal handles customer data normalization and hashing automatically for your specific collection method.
Also, remember that hashing does not replace consent or other applicable privacy requirements.
Step 4: Use the Original Purchase Timestamp
One of the most common mistakes in historical offline conversion uploads is using the wrong event timestamp.
Imagine a customer purchases a product at your physical store on Monday at 6 PM.
Your automated data pipeline sends that transaction to Hardal on Tuesday at 9 AM.
Which timestamp should you send?
The original purchase time: Monday at 6 PM.
Not the time your data pipeline runs.
This distinction is especially important when sending historical sales data to Meta.
Hardal and Meta Timestamp Formats
Hardal and Meta use different timestamp formats in their event collection and delivery flows.
| Platform | Parameter | Format |
|---|---|---|
| Hardal | timestamp, event_time | ISO 8601 string, such as 2026-11-18T13:00:00.000Z |
| Meta CAPI | event_time | Unix seconds |
Make sure your integration preserves the original transaction time and converts it into the expected format.
You should also pay attention to your POS system's timezone.
For example, if your stores operate in Türkiye, use the correct Europe/Istanbul timezone when converting local purchase dates into ISO 8601 timestamps. For example, a purchase at 4 PM in Istanbul is 2026-11-18T13:00:00.000Z in UTC.
Incorrect timezone handling can cause sales to appear on the wrong day and affect your reporting accuracy.
Step 5: Send Offline Purchase Events to Hardal
Once your data is ready, you can send your offline transactions to Hardal using the server-side collection endpoint.
Your offline data can come from different sources:
- POS systems
- CRM platforms
- ERP systems
- Data warehouses
- CSV processing scripts
- Automated backend jobs
To get started, you need your Hardal signal endpoint and your Signal ID. You can find your Signal ID in your signal under Settings → API Credentials.
Each event is sent as a POST request with the Content-Type: application/json header:
POST https://signal.yourdomain.com/push/hardal
A simplified offline purchase event might look like this:
{
"type": "event",
"event_name": "purchase",
"payload": {
"website": "YOUR_SIGNAL_ID",
"name": "purchase",
"url": "https://www.example.com/offline/stores/STORE-01",
"title": "Offline Store Purchase",
"device_type": "desktop",
"language": "tr-TR",
"platform": "server",
"action_source": "physical_store",
"timestamp": "2026-11-18T13:00:00.000Z",
"event_time": "2026-11-18T13:00:00.000Z",
"data": {
"transaction_id": "STORE-01-98765",
"value": 2450,
"currency": "TRY",
"store_code": "STORE-01",
"consent": true,
"items": [
{
"item_id": "SKU-TSHIRT-01",
"item_name": "Cotton T-shirt",
"item_brand": "Example Brand",
"item_category": "Apparel",
"price": 950,
"quantity": 1
},
{
"item_id": "SKU-JEAN-04",
"item_name": "Slim Fit Jeans",
"item_brand": "Example Brand",
"item_category": "Apparel",
"price": 1500,
"quantity": 1
}
]
}
}
}
This example represents a single purchase containing two products from a physical store.
The action_source field is set to physical_store, so Meta knows the purchase happened in a store. The timestamp and event_time fields carry the original purchase time as ISO 8601 strings, not the time your pipeline sends the event.
While you test your integration, you can add "test": true to the payload. Remove it before you send live data.
The consent: true field matters. Marketing destinations such as Meta CAPI have Consent Mode turned on by default, so Hardal only forwards events that include consent: true. Events without it still reach your Hardal reports, but they are not sent to Meta. Only set it when the customer has given the appropriate permission.
Customer information, such as email address and phone number, is sent with an identify request that uses the distinct event:
{
"type": "identify",
"payload": {
"website": "YOUR_SIGNAL_ID",
"name": "distinct",
"url": "https://www.example.com/offline/stores/STORE-01",
"title": "Offline Store Purchase",
"device_type": "desktop",
"language": "tr-TR",
"platform": "server",
"data": {
"email": "customer@example.com",
"phone": 905321234567,
"firstName": "Ayse",
"lastName": "Yilmaz",
"customerId": "CUSTOMER-48291",
"city": "Istanbul",
"country": "TR"
}
}
}
For the latest collection requirements, visit the Hardal Events API documentation.
What Should You Check Before Sending Offline Events?
Before sending your entire dataset, make sure that:
- Every purchase has a unique transaction ID.
- Purchase values and currencies are correct.
- The original purchase timestamps are preserved.
- Customer consent is handled correctly.
- Customer identifiers are formatted correctly.
- Your requests include the required HTTP headers.
- You are not generating artificial customer IP addresses or session IDs.
Start by sending a few test transactions and checking whether they appear correctly in Hardal.
Once you confirm that the data is being collected successfully, you can move on to the Meta integration.
Step 6: Connect Hardal to Meta Conversions API
Now that your offline purchase events are available in Hardal, the next step is to configure your Meta CAPI Destination. If you also want browser events to reach Meta from your own domain, see how to set up a first-party domain for Meta CAPI.
Hardal Destinations allow you to forward collected events to advertising and analytics platforms through server-side integrations.
Configure Your Meta CAPI Destination
- Open Meta Events Manager.
- Select the relevant Dataset or Pixel.
- Find your Pixel ID (also shown as the Dataset ID) and generate a Conversions API access token.
- Open your signal in the Hardal dashboard.
- In the signal sidebar, go to Destinations → + Add → Meta CAPI.
- In the Setup tab, enter your Meta Pixel ID and Meta Access Token.
- In the Advanced tab, keep Consent Mode on and add a Test Event Code from Meta Events Manager.
- Click Connect, test your integration, then open the destination settings and click Activate to start live event delivery.
Make sure that your physical store purchases are sent with the appropriate Meta action source. In the Step 5 payload, this is the action_source field:
{
"action_source": "physical_store"
}
This tells Meta that the conversion happened in a physical store rather than on a website.
Using the correct action source is particularly important when working with historical offline conversion data.
The exact configuration may depend on your Hardal integration and dashboard version.
How Far Back Can You Send Offline Conversions to Meta?
This is one of the most common questions from retail brands:
Can I send the last three or six months of physical store sales to Meta?
Not necessarily.
Meta applies different historical event submission rules depending on the conversion type and action source.
| Conversion Type | Action Source | Documented Historical Window |
|---|---|---|
| Physical store purchases | physical_store | Up to 62 days |
| Website conversions | website | Up to 7 days |
| CRM conversion events | system_generated | Generally up to 7 days |
There is an important distinction here.
Meta's general Conversions API rules describe a seven-day event timestamp limit, while its physical store guidance describes a 62-day submission window.
Because these rules may behave differently depending on the integration and event processing method, you should validate historical physical store events before uploading your entire dataset.
You also need to confirm that your Hardal Destination preserves the original event timestamp for historical offline purchases.
An accepted event does not automatically mean that its original timestamp was preserved or that it will be attributed to an advertising campaign.
The historical upload window and the advertising attribution window are two different things.
How to Upload Historical Offline Sales Data Safely
If you already have weeks or months of historical POS data, avoid uploading everything at once.
Instead, follow a controlled backfill strategy.
1. Start With the Last Seven Days
Prepare and send a small group of recent offline purchases.
Check whether:
- Hardal receives the events.
- Meta receives the events.
- Purchase values are correct.
- Customer information is mapped correctly.
- The action source is
physical_store. - Original purchase timestamps are preserved.
2. Test Older Transactions
Once recent events are working correctly, prepare a small group of transactions that are between 8 and 62 days old.
Validate whether Meta accepts these events with their original purchase timestamps.
Do not continue with the full historical upload until you confirm that this works as expected.
3. Send Your Data in Smaller Batches
Large historical datasets can contain thousands of transactions.
Instead of sending everything in a single request, process your data in smaller batches.
Meta Conversions API supports up to 1,000 events per request, but smaller batches of around 100 to 500 events can make error handling and monitoring easier.
For Hardal, use the batch size and request limits supported by your collection endpoint.
If a request fails, retry it without changing the original transaction ID or purchase timestamp.
4. Exclude Transactions Outside the Supported Window
Filter out transactions that fall outside Meta's supported historical submission window.
You can retain older transactions in your own data warehouse or analytics environment without attempting to use them for Meta conversion delivery.
5. Move to an Automated Daily Data Flow
Historical uploads are useful for getting started, but they should not be your long-term measurement strategy.
Once your historical data has been processed, create an automated data flow that regularly sends new offline transactions to Hardal.
For example:
Daily POS Transactions
|
v
Automated Data Processing
|
v
Hardal
|
v
Meta Conversions API
Whenever possible, send conversions in real time or at least daily.
This gives Meta fresher conversion signals and reduces the risk of transactions falling outside supported submission windows.
How to Verify Your Offline Conversions in Meta Events Manager
Sending an event successfully to Hardal is only the first step.
You also need to make sure Meta receives and processes it correctly.
Open Meta Events Manager and select the Dataset connected to your Hardal Destination.
Review the following areas:
- Overview: Check whether purchase events are being received.
- Test Events: Validate sample events before going live.
- Diagnostics: Identify missing parameters or event processing errors.
- Event Match Quality: Review the quality of your customer matching signals.
- Event details: Check purchase values, currencies, action sources, and event timestamps.
Remember that receiving an offline conversion and attributing it to a Meta Ads campaign are not the same thing.
Meta still needs to match the event to an eligible advertising interaction within the applicable attribution rules.
Common Offline Conversion Tracking Mistakes
Offline conversion tracking can become unreliable when the underlying data is not prepared correctly.
Here are some common mistakes to avoid:
| Mistake | Potential Impact |
|---|---|
| Sending every product as a separate purchase | Inflated conversion counts |
| Using the upload time as the purchase time | Incorrect conversion dates |
| Sending phone numbers without country codes | Poor customer matching |
| Hashing customer information twice | Failed customer matching |
Using website for physical store purchases | Incorrect event classification |
| Reusing transaction IDs across stores | Duplicate or conflicting transactions |
| Uploading unsupported historical events | Event rejection or timestamp issues |
| Ignoring customer consent | Privacy and compliance risks |
A successful offline conversion integration is not just about sending more data.
It is about sending accurate, consistent, and appropriately permissioned data.
Why Offline Conversion Tracking Matters for Retail Brands
For businesses that operate both online and offline, website conversion tracking tells only part of the story.
Your customers do not always complete their purchases through the same channel where they first discover your brand.
Someone might discover a product through an Instagram ad, browse your website, and eventually purchase it at a nearby store.
Without offline conversion tracking, that purchase may be missing from your advertising measurement.
By connecting offline sales data to Meta through Hardal, you can:
- Build a more complete picture of advertising performance.
- Improve visibility into physical store conversions.
- Provide Meta with additional conversion signals.
- Better understand the relationship between digital campaigns and offline sales.
- Reduce measurement gaps across online and offline customer journeys.
- Centralize your first-party conversion data.
This can help marketing teams make better-informed decisions about their advertising budgets.
Start Measuring Your Offline Sales with Hardal
Your customers do not think in terms of online and offline marketing channels. They discover products, interact with brands, and purchase wherever it is most convenient for them.
Your measurement infrastructure should reflect that reality.
With Hardal, you can collect first-party conversion data from your offline systems and connect it to advertising platforms through server-side Destinations.
Whether your sales data comes from a POS system, CRM, ERP, or data warehouse, Hardal helps you bring your conversion data together in one place.
Stop measuring only part of your customer journey.
Hardal is the first-party data and agentic analytics platform. We help enterprises send accurate signals to their ad platforms and grow revenue, using server-side data from their websites, mobile apps and AI agents.
Get started with Hardal and connect your offline sales data to your digital advertising measurement.