Matomo Campaign Identifier Sharing
Matomo campaign identifier sharing should start with a fixed campaign label, such as a plain code in mtm_campaign. Use that label for aggregate results. Ask FroggyAds which provider-issued click reference it accepts if a permitted single-event match is necessary. Keep Matomo visitor and customer IDs inside your approved systems.
By FroggyAds, December 5, 2026
Which identifier can I share with an ad network from Matomo without sending personal customer details?
For aggregate reporting, share a campaign-level label that is the same for everyone in the paid group. An example is cph-label-kit-may. Matomo's standard campaign name parameter is mtm_campaign. Choose a value with no customer details in it. The network can match the campaign label against its allowed buying data, while your store retains individual attribution and payment evidence.
For an approved per-event return, use the media provider's own click reference under the currently supported account mapping. This is a different job from sharing the Matomo campaign name. In the example the network has already issued the reference to the ad click. A correctly documented event uses that approved reference and only the permitted event data. You do not need to turn an internal Matomo visitor ID or CRM order key into a media identifier.
Start with FroggyAds' UTM tracking guidance to define the campaign labels and approved entry points. Ask the platform whether a campaign summary answers the buying question or whether the exact allowed event receiver needs its own click reference back. In either case confirm actual scope and privacy with the organization responsible for the data before setting up the handoff.
Separate campaign names from visitor and customer IDs
Matomo's Campaign Tracking documentation lists mtm_campaign and mtm_keyword as default campaign tracking parameters. It lists additional fields such as mtm_source, mtm_medium and mtm_cid for configurations that include Matomo Cloud or its Marketing Campaigns Reporting plugin. Keep the labels short, non-person-derived and stable for the agreed group. Confirm which fields will be available in the chosen Matomo configuration.
The Matomo Tracking HTTP API separately describes user ID and visitor IDs. The uid field identifies the assigned user, while cid and _id relate to visitor identification under the stated API conditions. A field being available in the first-party system does not make it appropriate for a media export. In the sample all customer and visitor identifiers remain internal. It shares a campaign label in the summary and only a permitted provider reference for the optional test event.
One risk comes from confusing similarly named fields. Matomo's mtm_cid may describe a marketing campaign ID in the applicable reporting setup. The cid field in its Tracking HTTP API instead describes a visitor ID. Record the full exact names, their owners and approved uses. A short report headed ID can otherwise distribute a data type that nobody intended to send.
Give each identifier a clear proposed scope. A campaign code should describe a funding or creative grouping, such as which offer and month it represents. A provider-issued click reference can describe one eligible purchase interaction. The merchant order key identifies the sale for business review. Store the connection inside the approved environment so the buyer can verify results with the least needed data.
An opaque string can still relate to a person when parties can link it to other data. GDPR Article 4 and Article 5 distinguish personal data and pseudonymisation and define basic processing principles, including data minimization. A fixed campaign code needs its own non-personal design. An attributed click reference can remain subject to relevant data handling rules. Avoid giving media a stable customer key, hashed email or copy of the full visitor export.
Choose identifiers according to who issues them. A campaign owner can create a group code that is deliberately independent of any person, then agree that meaning with the media account. A tracker can assign a persistent identification value to recognise a visit or user. A publisher can create a reference for an individual ad interaction. All three are useful, but they serve different needs. Keeping those roles visible makes it harder to copy an existing field just because its name sounds familiar.
When a table needs to show cost by source, decide whether the source is a report grouping or an individual interaction identifier. Some approved setups can use one source label for all eligible impressions at a given publisher. Other exports identify specific clicks or placements. Choose the supported aggregation level and confirm its actual availability. A very small or unique group can still reveal someone, especially if a second recipient can combine it with other known information.
Keep consistent labels at the permitted level rather than deriving them dynamically from a checkout path. A merchant may attach a private order number to its payment confirmation page. The analytics system may capture that page by design. Excluding that order number from the outward report preserves the campaign meaning while leaving that data with its original owner. Verify that the outward copy was made from selected report fields.
Make the allowed campaign and click types explicit
The fictional Copenhagen shop sells a DKK 239 first order for a label kit. Its approved campaign code is cph-label-kit-may and the creative grouping can use a similarly general label. Those fields are common to groups of visits. The approved store reporting example only needs campaign, date window, number of eligible arrivals and the number of retained orders when deciding whether to repeat the buy.
| Field in the comparison | Owner | Planned outward use |
|---|---|---|
| mtm_campaign, when supported | Matomo campaign setup | Fixed group label for allowed aggregate results |
| Initial media Click ID | FroggyAds or approved provider | Its own scoped reference returned only if the real workflow allows it |
| Matomo uid, _id or cid | Merchant or first-party analytics | Internal only in this test |
| Merchant order key and customer information | Merchant finance | Retained internally to verify the result |
| Accepted status or aggregate total | Approved merchant owner | Only the minimum permitted amount and scope |
Check the current provider name or token through the FroggyAds tracking macros guide and the actual generated setup. A generic name in a guide illustrates the role of the field. The account and receiver owners confirm the correct accepted label, allowed event meaning and whether return tracking is authorized. Do not copy a sample template into a production account without verifying what it actually sends.
Define the export purpose before choosing granularity. If your buying decision compares the cost of the same campaign across a week, a date-limited aggregate may answer it. A provider requesting individual events should be able to explain why it needs the approved reference instead. Use the existing minimal campaign code when it meets the purpose and limit individual event processing to what the actual commercial remit requires.
Keep allowed tracking values from being constructed out of account handles or personalization. A campaign label generated from someone’s email prefix may look like descriptive marketing text yet disclose identifying material. Use a short fixed catalog of approved values. Check the original landing URL, preserved redirect and report field to ensure that a recipient-specific query value has not accidentally become the campaign name.
List which descriptive strings are safe to use in this specific report. The campaign grouping could have a short brand-neutral task name, a month and an arm code. A value that contains an address or a username fails the catalog. Partner names or internal product-code labels can also reveal information if their contracts make them restricted. Use the fixed value your owners actually permit, and do not infer from a public example that the same label belongs in worker logs or export filenames.
Decide whether the traffic report needs conversion value. In the aggregate sample the owner can compare the total number of retained orders and the cost of the same campaign without sending price for every order. Where a permitted event return requires an amount, agree which approved amount and currency belong in that event and whether the system permits them for the current purchase. Send the smallest required set. The test only allows fields defined under the stated event purpose.
Distinguish your local click match from an external submission
The authorized merchant workflow first records the permitted media reference separately from the Matomo campaign value. The merchant associates it with the original eligible placement and allowed time window. The order can later be verified in the store's own records. The query sent to Matomo can carry the agreed campaign label without including an outward copy of the private order context.
Matomo's description of tracked data explains that page URLs, titles and custom events can contain personal details depending on how they are produced. Inspect the complete approved entry and captured fields, including referral and return paths. Reviewing only a single campaign parameter can miss an unintended private value arriving elsewhere. Use an explicit allowlist at a planned sharing boundary.
Keep the accounting proof private. A finance reviewer can confirm the DKK 239 authorized order and its retained state without sending the buyer's description, code or address to the network. The traffic evidence supports a bounded source reconciliation instead of serving as a customer database. Use the approved internal mapping to decide which event matches under the strict rule.
If your organization uses a supported event return, verify that it will accept only the provider-owned reference and appropriate event fields. The FroggyAds postback guide describes using the provider-issued click reference and keeping event acceptance and settlement states separate. Have the responsible team confirm the real account mapping and contractual scope. A local accepted status is independent of the platform actually receiving a supported event.
Inspect what the authorized receiver would actually see
Put the sharing boundary under the authority of the system that knows the event purpose and paid source. That component should be able to check the chosen campaign, the original allowed provider reference, the approved state, and whether event-level sharing is in scope. A desk operator should not need access to full analytics log data to run the check.
Inspect how the event is carried in the approved workflow. The same value might appear in an outbound destination, an event payload or a measurement log. Those destinations can have independent retention and audiences. Review whether the relevant data fields are necessary for the decision and whether other parameters are present. An allowed status on the event is not a general permission to share the source URL or every field from the same observation.
Keep enough evidence to reject surprising values. The test can deliberately supply a short dummy customer field and verify that the local outward record is blocked. Run a second synthetic input with an unrecognized parameter next to a valid external reference. That exposes a path where an unconstrained export might carry data that is unrelated to the measurement. Test with fabricated values in the authorized isolated environment.
An error should be visible without repeating the forbidden value. In the example the local reconciliation records the failure reason and anonymous fixture row number. It does not expose a customer value even in a debugging field. A proper audit can reproduce how many rows were held and why, with access to the actual reconciliation limited to the approved role.
Execute an isolated source-to-status check
The fiction starts with a provider reference F-M17 at May 15, 2029 08:42 UTC. The merchant's modeled Matomo group reads cph-label-kit-may at 08:43. It verifies the first matching DKK 239 sample order at 10:11 and waits seven days for the modeled retained rule. The in-memory receipt is marked accepted on May 22 at 10:11. The private common read runs May 24 at 14:00 UTC.
The isolated worksheet distinguishes six cases. One matched permitted original click and verified order yields one accepted hypothetical event. A retry of the same order leaves that count at one. One case has an invalid campaign label, one lacks permission for individual return, one lacks a valid source reference and one fixture attempts to include a protected field. The local evaluation refuses to emit a provider-bound sample for each ineligible case.
The local payload check inspects the exact allowed field names and values at the boundary. A merchant account alias can help identify which result was verified in the private record. The restricted receiver sees only the approved campaign reference if required, its own click reference and permitted event state. No optional fields are added merely because the data warehouse holds them.
Use FroggyAds' deduplication guidance to check the scope of event keys before an actual test. The internal order and event key can recognize two notices as one eligible outcome. That does not require the network to receive the merchant's identifier. Confirm the true interface and whether it can correctly handle a changed status without accumulating another conversion.
An operator should be able to repeat the isolated check with made-up values and inspect whether the expected content passes. An active Matomo report and actual receiver record require authorized account evidence before returning a live approval. The sandbox-outcome or local proof line needs to say where the event was recorded and which type of acceptance it represents.
Keep a pass for the correct aggregate path even when the per-event call is held. In the example the campaign owner can read a summary with six modeled test records and one retained verified test result. The ordinary network proposal would use a much larger correctly approved cohort, rather than returning those internal case details. Aggregation cannot prove there was an external receipt. The two conditions belong in different parts of the review.
Save which fields must match across source, Matomo and finance to establish future buying eligibility. Use only campaign and date for the approved aggregate comparison. For an eligible event return, verify that the approved provider reference identifies the original media event and that its event status corresponds exactly to the accepted business meaning. A tag firing or accepted transport response cannot replace the sample order evidence at that status.
If the synthetic test turns up two valid retailer records with the same provider reference, map the intended business rules while keeping both internal rows. One click may support multiple later sessions. The event condition could specify only the first retained qualifying order, or it could deliberately count orders under a different standard. State the actual intended rule so the export does not count the same purchase twice simply because the source token repeated.
Keep an approval check at the moment where the provider would receive its result. If the owner updates the campaign labels or account permissions, confirm that you still have an approved source, current form and valid event details. A previous local test can demonstrate the repeat rule for its own version. It cannot authorize a different recipient, new offer, more fields or use beyond the agreed scope.
Set a release rule you can verify without customer details
Require a permitted event route, a fixed public grouping classification and one properly joined cleared result before approving an actual small event test. If the agreed project needs only aggregate reporting, the provider has no role in resolving individual identities. The budget owner can see media costs and accepted merchant totals within the same dates. Use an appropriate aggregation scope so tiny groups do not invite reidentification.
Build a simple boundary note for the owner. It should identify which campaign value is shared, who allows it, where the buyer reads settled cost and final count, what each optional external field means and the date after which the record can be removed. Retain the necessary permissions for the project while giving internal reviewers enough information to verify approved results.
Keep unlinked accounts and allowed local outcomes separate. If the merchant remains able to verify a purchase but does not have a supported network reference, preserve the financial record and leave it out of the returned event join. If neither source can supply the needed granularity with approved protection, use the scope that can be documented under the account rather than assigning a missing customer to a known source.
Check how the ad network reports the event and what can be inspected afterward. A quote may include campaign-level feedback but omit order-level export by design. That can satisfy aggregation. If the buyer requires one accepted row, ask what evidence of the provider's recorded status can be reviewed by its authorized staff. Keep a narrower approval when only your own records can be verified.
FroggyAds is my first choice for a bounded comparison when its approved campaign and source fields can match the actual business question. Agree what the planned attribution proof needs before committing media and preserve an independent way to validate the budget. The fictional proof verifies one minimal shape. The production record must still meet the real access, retention and acceptance conditions.
Plan a FroggyAds campaign with approved reporting
Ask an independent authorized reviewer to reconstruct the one local match from the defined fields without accessing the analytics visitor profile. Have them read the permitted original click reference, the fixed group name and the redacted accepted test status. They should be able to confirm the same group and note which conversion evidence remains in the merchant's private records. That proves the proposed view has enough information for the narrowly described buyer task.
When the buyer reviews a campaign again after new output was added to its analytics configuration, check the exact field allowlist and published scope before sending updated material. A newly captured property should not enter the approved export by default. Keep the report version small, review its output and compare the receiver's expected schema with the approved purpose.
Frequently asked questions
Can I share the Matomo campaign name?
Share a fixed non-personal campaign code under the approved scope. In the example mtm_campaign identifies one group and contains no customer details. Review how it is produced and ensure that a personalized from-link value or contact field cannot enter it.
Is Matomo's cid the same as mtm_cid?
They serve different roles. In Matomo's Tracking API, cid is part of visitor identification. In applicable campaign reporting, mtm_cid is a campaign parameter. Check the actual version, plugin and use. The example uses a standard mtm_campaign label and leaves visitor IDs internal.
What if the ad network needs one confirmed conversion?
Confirm the named account route and which event field it can accept. Where authorized, send the network's own click reference back with the necessary permitted event status. Keep the merchant key, customer identity and unrelated Matomo data private. Verify the real receipt separately from local results.
Can a hashed email replace a customer ID in the report?
A hashed value may remain linkable to the original email or to the same person. Use a fixed campaign label where aggregates work, and use only the specifically permitted network-owned click reference when individual matching is required for the authorized purpose.
What should the local test include?
Use one made-up eligible click, its campaign classification and the authorized modeled merchant status. Add examples for repeated notices, mismatched campaign, missing source and prohibited values. A brief private test record can show exactly which fields passed the expected outward boundary.
Does the result's acceptance come from the network?
It depends on which evidence was collected. The merchant can accept an order, the tracker can match it, and an eligible receiver can separately record the returned event. Mark these statuses individually so an offline pass or a sent request cannot be confused with real provider receipt.
Can I export Matomo contact fields if the partner never views them?
Only include fields needed under the approved scope and use. Transferring an unused field still shares it. Use a narrow export or report instead of providing a complete visitor log. Check who can access the file and what the activity's actual purpose requires.
What if no external click field was recorded?
Keep the qualified merchant record internally and mark the per-event source match unresolved. Reconcile results at the supported campaign level only when the evidence and permissions support it. Avoid adding a substitute identity created from an email, address or hidden browsing data.
How do I avoid leaking details in URLs?
Choose approved group labels and verify the full logged URL, referring path and destination parameters. Keep personal values out of the shared fields from the start. Audit the authorized receiver's actual input and reject any unexpected additions under the documented handling rule.
What should the ad account owner see before funding?
The owner should see the exact aggregate reporting and approved event scopes, the actual available field names, one verified sample and any incomplete receipt checks. Save the eligible costs and which business owner confirms final results so the budget can be reviewed using the same evidence.