Many Klips that use Campaign Monitor data need a date range that is dynamic (for example, past 30 days).
To change the query from a fixed range to a dynamic one:
- Enter a
?
at the end of your Query URL. - Enter
start-date={date.last30Days}
at the end of your Query URL (after the?
). - Enter
&end-date={date.today}
at the end of your Query URL (after thestart-date
parameter). - Click Get data.
- Ensure this is the data you’re looking for and, optionally, select the checkbox to Model your data. Learn more about modelling your data source here.
- Click Continue.
- Name, choose refresh settings, and, optionally, share your data source.
- Click Save.
Common date range expressions:
- {date.today}
- {date.last30Days}
- {date.startOfQuarter}