October 28, 2026
Metadata is “extra information” that you can attach to a conversion, a customer, or an affiliate. While Tapfiliate automatically tracks the basics (like order total and ID), metadata allows you to include specific details that are unique to your business.
Common examples of “Additional Information”:
- Product Details: product_name, sku, category
- Customer Demographics: age_range, gender, membership_level
Adding extra information helps both you and your affiliates grow:
- Better Insights: See exactly which products or tiers drive the most revenue.
- Affiliate Motivation: When affiliates see exactly what they sold (e.g., “Pro Plan” vs “Basic”), they can optimize their ads for higher-value items.
- Advanced Rules: Use this data to trigger specific commission rules or segment your affiliates.
Step 1: Collect the Information
You can get this data into Tapfiliate in three ways:- Tracking Script (Automatic): Update your Javascript conversion code to include the extra fields.
- REST API (Advanced): Push data directly from your backend using our API.
- Manual Entry (Direct): * Go to your Conversions, Customers, or Affiliates page.
- Click on a specific record.
- In the right-hand sidebar, look for the Metadata or Key value data section and click + Add.


Step 2: Make the Information Visible to Affiliates
To show conversion and customer data to your affiliates in their dashboard:- Select your program and go to Programs > Advanced.
- In the Exposed meta data box, type the names (keys) of the data you want to share, separated by commas (e.g., product_name, Age, plan_type).
- Note: This is case-sensitive! It must match your tracking code exactly.
- Optional: Toggle “Expose all meta data to affiliates” to On to show all conversion and customer metadata automatically. Metadata can hold personal data too, such as the email in the examples below: the toggle shows all of it. The toggle does not show the conversion’s order number (
external_id) or yourcustomer_id. To show them, typeexternal_idand/orcustomer_idin the Exposed meta data box. Some integrations, such as Shopify, send the customer’s email address as thecustomer_id. See Is it safe to share customer data? - Click Save.
JavaScript Code Example
If you are using the Tapfiliate JavaScript integration, you can include the product_name inside the meta_data object when tracking a conversion or a customer.// Example: Tracking a conversion with product metadata
tap('conversion', 'EXTERNAL_ORDER_ID', 100.00, {meta_data: {'product_name': 'Ultra-Hydrating Serum' // Your custom key and value}});// Example: Tracking a customer with metadatatap('customer', 'USER1234', {meta_data: {'product_name': 'Annual Premium Plan','customer_segment': 'B2B'}});Note: This is an advanced feature - we highly advise you get a developer to help implement this in your scripts.
If you want to store additional data alongside a conversion or customer, e.g. a lead’s name and email, you can do so by adding a
meta object within the Options object in the conversion or customer tracking script.
JavaScript Code Example
Fetching conversion metadata
Fetching customer metadata
- Maximum key length: 64
- Maximum value length: 255
- Maximum number of properties: 10
- Illegal characters:
" : { } ] \ ' / &
FAQ
❓Is it safe to share customer data?
Be careful with GDPR. We strongly advise against sharing identifying data (Full names, Emails, Phone numbers) with affiliates. Stick to non-identifying data like “Product Category” or “Customer Age Range.”❓What if the data isn’t showing up?
Check your spelling and capitalization in the “Advanced” settings. If your script sends Product_Name, but you typed product_name (lowercase), it won’t appear in the affiliate portal.❓Why can’t I save an affiliate’s metadata?
When you save any change in an affiliate’s profile, including their metadata, Tapfiliate also checks the affiliate’s first and last name. This is about the name, not about the metadata itself. If the name contains characters that aren’t allowed, such as a comma, double quotes, brackets or an emoji, the change is not saved and you see the message “Only letters, numbers, spaces, apostrophes, hyphens, @ and . are allowed. Avoid comma, quotes and newlines.” Until you reload the page, the profile may still show the change as saved, and other changes you make in the affiliate’s profile are not saved either. Reload the page first. Then remove those characters from the affiliate’s first or last name, save, and add the metadata again. If both the first and the last name contain such characters, contact us at support@tapfiliate.com. Metadata set through the REST API’s affiliate metadata endpoints is not affected.Still need help?
If you have any questions or if something in this guide is unclear, please don’t hesitate to contact us at support@tapfiliate.com-we’re happy to assist!