You can track subdomains in Friendly Automate in two ways: via the “website” (property) of the main domain or as a separate “website”.
Suppose you have already created a “website” in Friendly Analytics for the domain example.ch. You now set up a new landing page under the subdomain new.example.ch.
In the following, I'll explain the two ways you can track the subdomain, and the advantages and disadvantages of each.
To track the subdomain new.example.ch through the “website” of the main domain example.ch, simply add the tracking code from example.ch to new.example.ch as well.
Just make sure that the subdomain is added to the list of allowed URLs when the checkmark is set below:
In order to evaluate the traffic only from example.ch or only from new.example.ch, you would create a segment for each. Here you can find instructions on how to do this:
Filter reports with segments
Alternatively, you can also create a subdomain as a separate “website” in Friendly Analytics. This makes sense, for example, if the subdomain contains its own isolated offer, and there is no intent to cross over to the main domain.