All metrics and some rules (Content View, Page View, Score Points) require some analytics tracking options to be enabled. User should not be able to save the User Segment / Custom report if the analytic tracking options which function depends on are not enabled.
Steps to reproduce:
- Add a Campaign.
- Create a new Custom Report in the campaign.
- Add a Youtube metric to the report. Assert that a warning message about analytics is displayed.
- Save the report.
Expected behavior: report is not saved because the metric won't work.
Current behavior: report is saved.