Skip to content

Commit

Permalink
adding more samples
Browse files Browse the repository at this point in the history
  • Loading branch information
joker2411 committed Feb 19, 2025
1 parent bbbbf55 commit 0884c37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions samples/attribution_project/models/attribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ models:
touchpoints: # Defines the user journey sequence allowing us to evaluatel first, last and multi-touch models
- from: models/rsRandomSQLModel
where: timestamp > {{user.Var('first_order_date')}}
- from: inputs/rsMarketingPages
where: timestamp > {{user.Var('first_order_date')}}
conversion_vars: # What are the activities, outcomes, etc. that we actually want to measure. You can define more than 1. You can also define a value in addition to the count.
- name: sf_order
timestamp: user.Var('first_order_date')
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def __init__(self, entity_value="dummy_entity", id_type="rudder_id") -> None:

def entity(self):
return self._entity_value

def type(self):
return self._id_type

Expand Down

0 comments on commit 0884c37

Please sign in to comment.