cmeta for Universal URLs
Tag each place you share a Universal URL with your own identifiers (a campaign, a placement, a customer id), so every click and conversion tells you where it came from.
A Universal URL is one link per perk, so on its own it can't tell
your October newsletter apart from a QR code at a store counter. Your
custom attributes fill that gap:
add cmeta_* parameters and the five standard utm_* parameters to the link
you share. When a customer clicks it, Paylode stores them with the click and
carries them through to the conversion.
Where to pass them
Add the parameters to the end of the Universal URL you copied from the app. The
link has no query string of its own, so start with ? and join the rest with
&:
https://click-tracking.paylode.com/v1/universal/3f6c2a9e-8b14-4d7a-9e52-1c0b7d4f8a63?utm_source=newsletter&utm_campaign=october&cmeta_placement=header
Keep everything before the ? exactly as you copied it. That part identifies
the perk and your account, and a changed character means the link no longer
resolves.
- Name your own attributes with the
cmeta_prefix: letters, digits, hyphens, underscores. - The five
utm_names (utm_source,utm_medium,utm_campaign,utm_term,utm_content) are stored as-is. - Keep each value to 255 characters or fewer, and URL-encode it. A longer value isn't cut short; it's dropped.
- Anything else on the URL is ignored for attribution.
Make one tagged link per placement. A different cmeta_placement for the
header and the footer of the same email, or a different utm_source for email
and print, is what lets your reports split them.
In emails from the email builder
The Universal Perks email builder adds your UTM values for you: whatever
you enter in its UTM fields lands on every perk button in the downloaded HTML.
It doesn't add cmeta_* parameters. To tag by customer, add them to the button
links in your email platform, usually with its merge tags, so each recipient
gets their own value:
…/v1/universal/3f6c2a9e-8b14-4d7a-9e52-1c0b7d4f8a63?utm_source=newsletter&utm_campaign=october&cmeta_user_id={{user_id}}
The merge-tag syntax ({{user_id}} here) depends on your email platform. Make
sure it outputs a URL-encoded value.
Where they come back
The tags are stored with the click, and the conversion it leads to carries
them too. In Analytics, each of these views has a
cmeta dimension:
uurl_clicksandclicks_unifiedfor the clicks.conversions_of_uurlandconversions_unifiedfor the conversions.
In those views, cmeta holds your tags as a JSON object, with the names
exactly as you sent them, cmeta_ prefix included:
{"utm_source": "newsletter", "utm_campaign": "october", "cmeta_user_id": "42931"}
Group or filter on it to read clicks and conversions by your own tags. Query your metrics shows the query shape.
Worked example
Your October newsletter features one perk in two places: a banner at the top and a reminder at the bottom. You want to know which spot works better, and which customers redeemed.
-
Copy the perk's Universal URL from its page in the app's Marketplace.
-
Make two links from it, one per placement, each with a merge tag for the recipient:
…?utm_source=newsletter&utm_campaign=october&cmeta_placement=banner&cmeta_user_id={{user_id}}…?utm_source=newsletter&utm_campaign=october&cmeta_placement=footer&cmeta_user_id={{user_id}} -
Put the first behind the banner and the second behind the footer, and send.
Afterwards, query uurl_clicks and conversions_of_uurl for October and
group by cmeta. The cmeta_placement value splits banner from footer, and
cmeta_user_id ties each conversion back to the customer in your own records.
Related
- Universal URLs overview: what the product does and how this page fits it.
- Custom attribute: the naming rules every Paylode surface shares.
- cmeta for perk pages · cmeta for Boost · cmeta for gift cards