Thank you for this library, it may be exactly what I need although I need some help hence this issue.
I would like to use this library to implement the following use case, and I believe it's possible from reading other issues posted here but I do not understand what the calls should look like.
A shopper checks out via a few steps on my site and then is sent to PayPal to complete payment. Before sending to PayPal I lift the GA Client Id (GACID) from the cookie and send that to PayPal via the custom data parameter available in their button creation code. After payment, I also listen for an IPN which determines that payment has been completed for the order.
Once I get the IPN, I want my server code to use the universal-analytics-python library and send an Enhanced Ecommerce transaction event to GA for that client. As mentioned above, I know their GACID. I also will have all the details for the order the IPN refers to.
What should my code look like on my server so, using this library, I can send something like the below to GA?
Hello,
Thank you for this library, it may be exactly what I need although I need some help hence this issue.
I would like to use this library to implement the following use case, and I believe it's possible from reading other issues posted here but I do not understand what the calls should look like.
A shopper checks out via a few steps on my site and then is sent to PayPal to complete payment. Before sending to PayPal I lift the GA Client Id (GACID) from the cookie and send that to PayPal via the custom data parameter available in their button creation code. After payment, I also listen for an IPN which determines that payment has been completed for the order.
Once I get the IPN, I want my server code to use the universal-analytics-python library and send an Enhanced Ecommerce transaction event to GA for that client. As mentioned above, I know their GACID. I also will have all the details for the order the IPN refers to.
What should my code look like on my server so, using this library, I can send something like the below to GA?