gear

Documentation

Campaign codes

Namn

The name of the code, to tell them apart.

Code

This is where you put the campaign tracking code for the page. Nothing is added, so eventual HTML comment marks should be added by you.

Path

This is the path that should be matched against the full path of the request, including page arguments. Examples:

/
/texter/page.php?id=1234
/pages/Contact

If you enable the grep option in the form, the path is treated as a PCRE regular expression. If you don't know what that is, then don't use it. Examples of regular expressions:

member
projects.*id=1
^\/index.php\?page=Contact$

Important
If the path is left empty, the code will be shown on all pages. If you have several entries of "pathless" entries, one will be selected by random. Entries with a specific path will be selected instead of pathless entries when they apply.

Grep

If you enable the grep option, the path is treated as a PCRE regular expression. If you don't know what that is, then don't use it. Examples of regular expressions:

member
projects.*id=1
^\/index.php\?page=Contact$