diff --git a/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift b/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift index 95f5601..1b5bd44 100644 --- a/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift +++ b/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift @@ -169,19 +169,22 @@ class AnalyticsManager { // MARK: - section_one - func logScreenS1DefOne() { + func logScreenS1DefOne(title: String) { logScreen( - name: "s1 def one", - path: "s1_def_one/" + name: "s1 def one \(title)", + path: "s1_def_one/\(title)" ) } - func logEventS1DefTwo() { + func logEventS1DefTwo(title: String, count: String) { logEvent( name: "s1 def two", action: "test", category: "test", - params: [:] + params: [ + "title": title, + "count": count + ] ) } diff --git a/SampleFiles/Tags/sampleTags.yml b/SampleFiles/Tags/sampleTags.yml index 310acb4..4c91dd0 100644 --- a/SampleFiles/Tags/sampleTags.yml +++ b/SampleFiles/Tags/sampleTags.yml @@ -3,9 +3,13 @@ categories: - id: section_one screens: - id: s1_def_one - name: s1 def one - path: s1_def_one/ - tags: ios + name: s1 def one _TITLE_ + path: s1_def_one/_TITLE_ + tags: ios,droid + parameters: + - name: title + type: String + replaceIn: name,path events: - id: s1_def_two @@ -13,6 +17,11 @@ categories: action: test category: test tags: ios + parameters: + - name: title + type: String + - name: count + type: String - id: section_two screens: