So I have an issue where the user lands on the website with utm params, you can see that in the attached image on the bottom session, then the user buys a product, after he does that we take his email and send it as the user ID, when we do that, it attributes the sale to “direct” even though the user visited the website 1 minute ago with utm params.
Is this a bug?
Why is this happening?
I had the same issue with shopify, with shopify I had to remove the code which sends the user id and that’s how it was fixed, I assume I’ll have to do the same here, but why is this happening to begin with?
Everything happens in the same session, all the cookies are there, how come matomo is attributing the sale to direct instead of the utm params?
