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.ymlView source
- langcode: en
- status: true
- dependencies: { }
- id: ga_push_new_comment_event
- label: 'Send new comment event to Googla Analytics'
- events:
- -
- event_name: 'rules_entity_insert:comment'
- description: 'Send an event to Google Analytics when a new comment is made.'
- tags:
- - ''
- config_version: '3'
- expression:
- id: rules_rule
- conditions:
- id: rules_and
- conditions: { }
- actions:
- id: rules_action_set
- actions:
- -
- id: rules_action
- context_values:
- category: Comments
- action: New
- label: ''
- value: ''
- non-interaction: ''
- context_mapping: { }
- context_processors: { }
- provides_mapping: { }
- action_id: ga_push_event