Trouble Tracking Purchases from Agent
Hey! I’ve been trying to solve this for several days, but I’m stuck.
I want to track when a user purchases a product specifically through the agent. Convocore allows creating custom metrics, but I can’t seem to connect WooCommerce orders to whether they originated from the agent or not.
Here’s what I’ve already done:
When a customer clicks a recommended product in the agent, I append /?source=agent to the product URL.
This allows me to detect that the visitor came from the agent.
The problem is that WooCommerce removes this parameter.
When the user clicks “Add to cart”, they are redirected to the product page without the /?source=agent tag.
Because of this, I can’t reliably determine whether a purchase came through the agent.
Does anyone have tips or know how I can fix this? I’m stuck and can’t continue.
Thanks in advance!
I want to track when a user purchases a product specifically through the agent. Convocore allows creating custom metrics, but I can’t seem to connect WooCommerce orders to whether they originated from the agent or not.
Here’s what I’ve already done:
When a customer clicks a recommended product in the agent, I append /?source=agent to the product URL.
This allows me to detect that the visitor came from the agent.
The problem is that WooCommerce removes this parameter.
When the user clicks “Add to cart”, they are redirected to the product page without the /?source=agent tag.
Because of this, I can’t reliably determine whether a purchase came through the agent.
Does anyone have tips or know how I can fix this? I’m stuck and can’t continue.
Thanks in advance!