Google Analytics price tracking
This topic contains 18 replies, has 5 voices, and was last updated by Kiran 7 years, 12 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: google analytics, tracking
-
AuthorPosts
-
October 31, 2017 at 4:43 pm #711
Hi,
I’m using Invoicing with GeoDirectory.
Currently I can track when someone buy a package for a listing, but I would also track prices, like I do with ecommerce.
Is it possible with Invoicing?
October 31, 2017 at 6:18 pm #716Hi Laura,
Do you have an example of what you mean?
Thanks,
Stiofan
October 31, 2017 at 6:38 pm #717Seo specialist that is working on my project is able to track price of purchased item via Analytics (using WooCommerce).
He asked me if it is possible to do the same with Invoicing + GeoDirectory.
November 1, 2017 at 4:14 pm #722He must be using either a custom script or a plugin for that, if you let us know, we can check and try to replicate…
November 2, 2017 at 2:30 pm #727I try the solution here https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
What I need is to print this script
<script> ga('require', 'ecommerce'); ga('ecommerce:addTransaction', { 'id': '1234', // Transaction ID. Required. 'affiliation': 'Acme Clothing', // Affiliation or store name. 'revenue': '11.99', // Grand Total. 'shipping': '5', // Shipping. 'tax': '1.29' // Tax. }); ga('ecommerce:send'); </script>with the right value, in the “Payment confirmation” page.
Maybe it could be printed with
[wpinv_receipt]shortcode: can you address me to replace the function related to this shortcode?
It could be a good feature to add to WP Invoicing. 🙂
Thanks!
November 2, 2017 at 7:47 pm #728Thanks for the info, i’ll look into it and see how easy it would be to implement.
Thanks,
Stiofan
November 3, 2017 at 1:55 pm #731I’m trying to create a shortcode that print the script to add it in “Payment confirmation” page, but I don’t know how to get invoice informations.
The only thing I have about inovice is the invoice_key parameter in the url: there’s a function to get invoice object by invoice_key?
I found the wpinv_get_invoice() function, but it works with ID.
November 3, 2017 at 7:48 pm #732Hello!
Developer documentation for the plugin is available here: https://wpinvoicing.com/docs/category/developers/
If a developer is available to help you, they will reply to this ticket, but, we are not able to take on custom work at this time. Please take a look at the documentation referenced above and see if it contains the information you need.
November 4, 2017 at 6:38 am #735Hi Laura,
I have created documentation on how to use integrate Google Analytics Ecommerce Tracking with Invoicing.
Please see https://wpinvoicing.com/docs/google-analytics-ecommerce-tracking/.To track Invoicing transactions add that snippet to your theme functions.php file or via any snippet plugin.
Let us know.
Thanks,
KiranNovember 4, 2017 at 8:07 am #736Oh wonderful, thank you Kiran!
I will test it as soon as possible.
As always your support is top! 🙂
November 7, 2017 at 1:59 pm #746Hi Kiran, I test the snippet but the code is not printed anywhere: I search the script in the Success payment page and also in the page where the user is landed after PayPal payment (the one that says We’re process your payment…).
Can you help me to fix this issue?
November 7, 2017 at 2:01 pm #747Hi Laura,
If you provide admin & FTP credentials then i will add it for you from my side.
Kiran
November 7, 2017 at 2:06 pm #748This reply has been marked as private.November 8, 2017 at 7:18 am #750This reply has been marked as private.November 8, 2017 at 8:34 am #751This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket