URL Parameters

Maizzle can automatically append custom parameters to your URLs.


To add the same parameters to all URLs in all Templates, use your environment config:

// config.production.js
module.exports = {
  urlParameters: {
    utm_source: 'maizzle',
    utm_campaign: 'Campaign Name',
    utm_medium: 'email',
    custom_parameter: 'foo',
    '1stOfAugust': 'bar',
  // ...


Of course, you can define URL parameters at a Template level, through Front Matter:

title: "These URL params are unique to this template"
  utm_source: custom
  utm_campaign: "Pre-launch August"
  # ...

{% block template %}
{% endblock %}