- UTM tracking codes should be built for reusability instead of being one time things so there will be no issue if a link/QR code is reused without checking with web team first.
- All links used for this should be done through redirects as a CYA/future proofing measure. This means a QR code should never be made with the full URL that has UTM tracking values in it.
- Analogy: The short URL redirect we build is like a PO Box while the fully defined URL with the UTM code visible is our permanent address. We can move as much as we want and still get our mail.
- This means even if we want to change the tracking codes, all we have to do is update the redirect and any printed pieces will still function without needing to be remade.
Add an entry to the tracking code document
- Open the QR code/UTM URLs Google Sheet
- Scroll to the bottom to find an open line & fill it in accordingly:
- Column A: a link to Trello card for this request/initiative
- Column B: a brief description about what this tracking is being used on
- Column C: the date range of when the campaign runs or the print piece will be arriving in homes
- Column D: the URL of the destination page (where you want your users to end up)
- Column E: where this QR/link is being distributed
- There is a set dropdown of selections
- See UTM Naming Convention tab for more details on how these should be paired up with Column F
- Column F: how the link is being displayed
- There is a set dropdown of selections
- See UTM Naming Convention tab for more details on how these should be paired up with Column E
- Column G: shortened code name of campaign
- These should be short codes for the campaign as a whole, not an individual piece. Always make sure you are looking at the big picture when choosing a name
- See UTM Naming Convention tab for more details
- Column H: redirect URL created in Cascade
- This should follow the campaign name from Column G and end with
-qr
or the appropriate value from Column F. - Do not add for ones that are being written in print pieces, those should be simple and aesthetically appealing
- This should follow the campaign name from Column G and end with
- Column J: (automated) Full URL with tracking code that is what the redirect points to
Create the redirect in Cascade
- Open site
_redirects
in Cascade
These can also be built in the sitecnu.edu
if you would rather/it is easier/you are doing nested redirects rather than those in the root folder - Click the
Add Content
menu and selectFolder with page
- Name the folder according to the campaign code you are using
For a written URL, a suffix is not necessary / For a QR code, use suffix-qr
/ For a hyperlink, use suffix-hyperlink
- Edit the page asset just created. Expand
Customizations
panel and expand theRedirect
panel. You do not need to change any settings on this page, only the redirect information as detailed below. - In the
Redirect Type
dropdown, selectExternal
/ In the text fieldExternal URL
, paste the full URL with the UTM code elements (column H in the QR code/UTM URLs Google Sheet) - Submit and save the page following normal documentation procedures
- Publish the page to production
If you are building a QR code, follow the instructions on the Create a QR code article.