File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 130130 $ addConversionGoals [] = $ encodedDurationGoal ;
131131
132132 $ addEventGoal = new EventGoal ();
133+ $ addEventGoal ->GoalCategory = ConversionGoalCategory::Purchase;
133134 // The type of user interaction you want to track.
134135 $ addEventGoal ->ActionExpression = "play " ;
135136 $ addEventGoal ->ActionOperator = ExpressionOperator::Contains;
184185 $ addConversionGoals [] = $ encodedPagesViewedPerVisitGoal ;
185186
186187 $ addUrlGoal = new UrlGoal ();
188+ $ addUrlGoal ->GoalCategory = ConversionGoalCategory::Purchase;
187189 $ addUrlGoal ->ConversionWindowInMinutes = 30 ;
188190 $ addUrlGoal ->CountType = ConversionGoalCountType::All;
189191 $ addUrlGoal ->Name = "My Url Goal " ;
Original file line number Diff line number Diff line change 4545
4646 $ conversionGoals = array ();
4747 $ offlineConversionGoal = new OfflineConversionGoal ();
48+ $ offlineConversionGoal ->GoalCategory = ConversionGoalCategory::Purchase;
4849 // Determines how long after a click that you want to count offline conversions.
4950 $ offlineConversionGoal ->ConversionWindowInMinutes = 43200 ;
5051 // If the count type is 'Unique' then only the first offline conversion will be counted.
You can’t perform that action at this time.
0 commit comments