Skip to main content

Data properties - Personalize one flow for many placements

Give each QR code and short URL in a flow its own value, such as a sign location, then show it on the page, add it to links, and compare visits by value in Analytics.

User Permissions

Admins, and Editors with the Flow Editor additional role.

Note: Available with Flowcode 2. If you don't see it, contact your Flowcode CSM.

Add a data property to a flow

  1. In the Flow Editor, in the entrypoints box on the left of the canvas, click View under Data properties.

  2. On the Data properties tab, click Add data property.

  3. Enter a Label, such as "Placement" (up to 30 characters). The Property key fills in from the label.

  4. Select a Data type. It starts as String (plain text).

  5. (Optional) Enter a Default value. Every QR code and short URL in the flow starts with it, including existing ones.

  6. Click Add.

The entrypoints box with View under Data properties, and the Data properties tab with Add data property, numbered 1 and 2

The Add data property form with Label Placement, Data type String, Default value Taproom, and Add, numbered 3 to 6

Data type

Holds

String (default)

Plain text

Email

An email address

Phone

A phone number

Date

A date

Url

A web address; https:// is added if missing

Image

An image

Boolean

Yes or no

Address

A postal address

Number

A number

Name

A name

Multiple strings

A list of text values

Important: Choose the data type carefully. You can't change it after you click Add, and in practice you can't delete the property.

Give each QR code and short URL its own value

QR codes and short URLs are separate, and each one carries its own value.

  1. In the Flow Editor, click View in the entrypoints box.

  2. Open the QR codes tab.

  3. Click a code.

  4. Enter a Name that says where it goes ("Pier sign"). Analytics shows this name for its visits.

  5. Enter the value for the property, such as "Pier". Click Reset to default to go back to the default value.

  6. Click Done. To add another code, click Add, fill in Name and the value, then click Add.

  7. Repeat on the Short URLs tab for each short URL.

A QR code's panel with its own Placement value, Front window, Reset to default, and Done, numbered 5 and 6

Show a value on the page or in a link

To show a value to visitors, the flow needs a page, such as one made with the Landing Page to URL template or a Blank page. A Scan to URL flow has no page, so you can only add the value to its Destination URL.

  1. Click a field that has a {} button on its right, such as a landing page's Name label (its title), a text block, a card Header or Subheader, or a Destination URL.

  2. Click {} to open Add property, then search for your property's label. It's listed under Data properties.

  3. Click the property to insert it, then type any words around it: "You scanned the {Placement} sign".

The Destination URL field, its {} button, and a data property in the Add property list, numbered 1 to 3

Note: The {} button inserts a data property: variable data stored on each QR code or short URL, so one flow can show a different value for every code (a 1:1 flow).

Each visitor sees the value of the code or link they used. For example, https://example.com/?from={Placement} opens https://example.com/?from=Downtown for the Downtown code.

Destination URL set to a data property, with the first code's address shown on the canvas

Send visitors to different places by value

Add a smart rule with the Data property condition, choose the property, and enter the value that should take this path. See Smart Rules - Send people to different places by location, device, or answer.

Create many codes with values from a CSV

  1. On the QR codes or Short URLs tab, click the arrow next to Add.

  2. Select Many codes, then upload a CSV.

  3. For each column, under Map to, select New Property, Existing Property, or Ignore.

  4. Click Import.

The CSV mapping screen with the Map to column for each CSV column

Re-uploading with the same code names overwrites their values, and columns you leave out stay untouched. See Many codes - Create many QR codes at once from a CSV, and download them.

Important: New properties are added to the flow when you click Import, even if the import then fails. Check your mapping first.

Compare values in Analytics

Once the flow is published, each QR code and short URL opens it with their own value. On the flow's Analytics page, the Data properties section shows Visits by data property: a table of visits, module views, conversions, and conversion rate for each value.

Troubleshooting

"The trash icon on my data property doesn't do anything."
You can't delete a data property once the flow has ever had a QR code or short URL, even an archived one. Every flow starts with one, and copies count too. Stop using the property on the page, or rebuild the flow.

"Must provide a default when making a property required"
A Required property needs a Default value so existing codes have one. Enter a default, or clear Required.

"My page shows the default value for every link."
Each QR code and short URL needs its own value. Open the code or link on its tab and replace the default.

FAQs

Can I rename a data property?
Yes. Click it on the Data properties tab and change the Label. The Property key stays the same.

Can Support delete a property or change its type for me?
No. To change a flow's data property setup, build a new flow with the properties you need.

Related articles

Did this answer your question?