I have the following hit
And I generte the transaction but I don't have anything in the products, even if I click in the transaaction I don't have the products
What I'm missing??
- try the request with /debug/collect
- go to the hit builder tool and paste your request
You *can* have a transaction without any products. From what I see, your request is valid. Keep in mind transactional data doesn't show up instantly in GA.
Re: Measurament protocol
Thanks for the reply but I did the transaction yesterday and I have no products in there, it's a test site so it has no traffic, I attach you two images. In the image salesPerformance.png
you see all the transaction including the 61 wich is the transactio I put in the hit but if I click in there (salesPerformanceTrans61.png) you see I have no products.
Even if you go to the products performance (productperformance.png) you see the product Iphone4 (included in the hit) has no revenue
So after all of this I think the hit is not ok
Can you help me please??
Wow! Thanks a lot, now its ok!
Another question if you allow me
I have all the site tagged with gtm but in the thankyou page I have the measurament protocol
I did all the process once and I have 2 sessions and 2 users instead 1
It's maybe for the param cid?
Indeed, you need to make sure you are using the same CID - which means you'll have to collect it in a custom dimension or programmatically. Ideally, instead of calling the measurement protocol directly, you should try to generate the proper dataLayer which could be used by GTM. This way, if you have other tags besides GA you want to fire only when a transaction is completed, this will be done more easily and efficiently through GTM.
Agree but we want to use measurement protocol in thw purxhase because of the system we want to execute a request from the server so I need to extract the client id and send it as a parameter so I need the client id as a variable in the code.
How can I do that?
Thanks for all the help