You are here

rules.reaction.ga_push_new_comment_event.yml in GA Push 8

modules/rules_example/config/install/rules.reaction.ga_push_new_comment_event.yml

File

modules/rules_example/config/install/rules.reaction.ga_push_new_comment_event.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies: { }
  4. id: ga_push_new_comment_event
  5. label: 'Send new comment event to Googla Analytics'
  6. events:
  7. -
  8. event_name: 'rules_entity_insert:comment'
  9. description: 'Send an event to Google Analytics when a new comment is made.'
  10. tags:
  11. - ''
  12. config_version: '3'
  13. expression:
  14. id: rules_rule
  15. conditions:
  16. id: rules_and
  17. conditions: { }
  18. actions:
  19. id: rules_action_set
  20. actions:
  21. -
  22. id: rules_action
  23. context_values:
  24. category: Comments
  25. action: New
  26. label: ''
  27. value: ''
  28. non-interaction: ''
  29. context_mapping: { }
  30. context_processors: { }
  31. provides_mapping: { }
  32. action_id: ga_push_event