Skip to main content

Campaign tracking codes

Campaign codes are text that we can use to track how a user learned about Dreambound. We manage campaign codes ourselves (not via any analytics tool).

Adding a campaign code

You can add a campaign code to any customer-facing page on our website by appending ?campaign=[code], where [code] is the campaign code.

For example, to add the campaign code test to the home page, you would do https://dreambound.com/?campaign=test.

Campaign codes are arbitrary text (letters, numbers, or underscores) and are case-sensitive. We don't keep track of them, so you don't need to register them in advance.

If there's already a query string

If the URL of the page already has a question mark in it, then it already has a "query string". In this case, add &campaign=[code] to the end instead (ampersand, instead of question mark).

For example, to add the campaign code test to https://dreambound.com/?something=else, you would do https://dreambound.com/?something=else&campaign=test.

With a short URL

It's probably best to use a short URL for a cleaner URL and to reduce the visibility that the user is part of a campaign.

Campaign code behavior

When the page sees a campaign code, it will save the campaign code to the user's browser. It will remain here until the user clears their cookies. It won't follow the user across different devices or browsers. Sometimes, browsers will automatically delete these codes after a period of time.

Campaign codes are removed from the URL

After a campaign code is saved, it will be removed from the URL of the page. This is to reduce the visibility of the code.

Additional campaign codes are ignored

If a user encounters more pages with campaign codes after their first, then the newer campaign codes are ignored. This is in line with the philosophy that we care most about how the user first learned about Dreambound.

Campaign code tracking

Right now, campaign codes are reported in the following places: