Closed (won't fix)
Project:
Meta Conversions API
Version:
1.0.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2023 at 10:21 UTC
Updated:
3 Oct 2025 at 11:27 UTC
Jump to comment: Most recent
Comments
Comment #2
rob230 commentedI don't currently have time to do this, but if I ever add it to a site with Drupal Commerce then it may get done. I'm thinking we can have a submodule that depends on the commerce module.
Comment #3
geza84 commentedI do not understand. The module sends these events right?
According to the description: "You can implement hook_meta_conversions_api_event_names() to add your own events. This is only necessary if you intend on making it possible to disable the event."
I see that this module only sends a PageView event. That's right?
Comment #4
rob230 commentedYou can make it send any event using hooks.
Comment #5
rob230 commentedI won't be adding Commerce events because I think they are too custom and people will basically always want to set up the event themselves and pass whatever data it is they need.
As a quick example, you can use an EventSubscriber to trigger when an order is placed:
Also need to add the event:
Comment #6
rob230 commented