mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Add accounts count to Intercom
This commit is contained in:
parent
3c0fdd84ee
commit
07264e86cb
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ if ENV["INTERCOM_APP_ID"].present? && ENV["INTERCOM_IDENTITY_VERIFICATION_KEY"].
|
|||
# :number_of_messages => Proc.new { |app| app.messages.count },
|
||||
# :is_interesting => :is_interesting?
|
||||
# }
|
||||
config.company.custom_data = {
|
||||
accounts_count: Proc.new { |family| family.accounts.count }
|
||||
}
|
||||
|
||||
# == Company Plan name
|
||||
# This is the name of the plan a company is currently paying (or not paying) for.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue