Google analytics for Paypal and Credit cart payments - paypal

I am working on Zen-Cart Site. Google Analytics is working fine but the problem I am having is in the ecommerce section of analytics. When I log into my analytics account and I go into the ecommerce section it only gives me sales that were generated through google checkout. If any sale was generated by credit card payment or by paypal that transaction is not registered in analytics. Now I really need to know which products are being sold through all transactions on the site and I'm not getting that info properly because it only tells me which products are being sold through google checkout. How can I do this?

most sites like paypal give you the ability to have the user be redirected back to a specific page after the sale takes place. On that page (usually a "thanks for buying my stuff" page), you need to put your global GA code, as well as some custom GA code to pass info like revenue, product id(s), etc...
You can learn more about what custom GA code to put on that page at this link:
http://code.google.com/intl/en/apis/analytics/docs/tracking/gaTrackingEcommerce.html

Related

How to create items in paypal for in app purchase

I am building an in app purchase shop for my companies pc game.
I know that in android and ios you create the items in your developer account and then buy them through there.
Is there a way to do something similiar in Paypal?
P.S. I have already developed the connection with paypal's rest api and am able to charge users through paypal. But Instead of passing the price of the item and it's description etc.. to paypal I would rather pass an item code and have paypal show the user the correct price in his currency. Plus I want to be able to pull this data from paypal and display it to the user from there.
My server is gamesparks which works with a node.js and mongo db.
PayPal does not offer anything like what you're wanting. You can pass through the item_name variable so that the order invoices show the item name, but you can't set up any items with prices/description. Usually that process is taken on by the developer on the project side, not processor side.
The most effective and safest way to retrieve information for PayPal payments is to set up an IPN. Here is the documentation if you are unaware.
https://developer.paypal.com/docs/classic/products/instant-payment-notification/

utm campaigns conversions aren't being credited to the campaign in google analytics when using shopify

My problem is with using shopify, google analytics, and utm codes to track which campaigns is bringing which conversions.
A lot of my utm campaigns sales aren't being credited to the campaign, I think possibly because of paypal redirecting and paypal getting the credit for the sale instead of the utm campaign. How can I troubleshoot this issue and resolve it?
Add paypal to your referral exclusion list in the property settings, unless you still use "classic analytics" in which case you add utm_nooveride=1 to the url that redirects back from paypal to your site.
If this really is your problem you can select source/medium as secondary dimension in your transaction report. If paypal is credited for the transactions you will see paypal.com/referral values (also this will maim some of your session based metrics since a change in attribution starts a new session in GA).
Wen user goes to PayPal from youre website, all original source data is lost, because paypal does not have Cross Domain tracking set up with your website. So PayPal in your analytics looks like a referral website. This can be solved with cookies and Uesr ID, but it requires some programing:
https://developers.google.com/analytics/devguides/collection/analyticsjs/cookies-user-id

Paypal Express Checkout - VAT is not shown neither on the form nor on backend

I am using REST API to enable Paypal option on my site. To help the finance department for future taxation issues, I am trying to set up VAT rates based on the country.
After googling a bit and checking the documentation, found out Paypal's tools for setting the sales tax - https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/ProfileAndTools/#id08A9ED090WS
But after setting the value on the config page like this:
I still cant see any tax information while I am trying to buy some test items (I had to cover some parts of the screenshots :/ )
And after a successful test purchase, I get tax=0.00 in the IPN response.
Am I missing some points on the documentation about using the auto-tax calculator of Paypal? Even setting taxing data while sending request to Paypal does not let me see the taxing information and other details on the form.
PayPal's tax calculator is a free tool included with PayPal Payments Standard; it doesn't work with any of the API based products. You will need to calculate tax and pass it to PayPal in the API call.

Woocommerce and PayPal Here integration

I'm interested to see if anybody is looking to integrate Woocommerce with the PayPal Here payment App? More so the importing of products from Woocommerce to the PayPal Here App. Be a great addition.
I haven't looked into that specifically, but I will be adding a "virtual terminal" / POS functionality into my PayPal for WooCommerce plugin before long. I've got it planned for the next full version release.
It basically gives you a section in the WP admin panel where site owners can easily put together invoices using their WooCommerce inventory and then process those orders accordingly. I will be including the Invoicing API's so you can create an invoice from the Woo VT order page, or you'll also have the ability to swipe a card using a USBSwiper card reader. Of course, you could also key in card data if you needed to do it that way.
The cool thing about that is even when you key in the transactions you still get your 2.2% - 2.9% rate depending on your volume because it would be processed over Payments Pro in that case. Same with invoicing or swiping.
Back to your original question, though, I'm unaware of any API or tool that allows us to interact directly with the Here inventory. They do have the Sideloader API for PayPal Here, which would allow you to send inventory (or a specific order) into the Here app from your own app in order to complete an order, but I don't think it lets you push inventory directly into the actual Here app.
On that note, what I could potentially do is build a stand-alone app that does nothing but pull in current WooCommerce inventory, and then from there you could create orders through the Sideloader API using that inventory, but it would use the Here app to actually complete the order. Seems a little clunky, but in theory, that should work fine.
If you want to contact me directly we could discuss getting this done for you.
Right at this time PayPal Here is designed to be card present, so you cannot import your products from Woocomerce into the PayPal Here App.
Here is a link to an FAQ on PayPal Here:
PayPal Here FAQ
Here is the current list of PayPal Here Partners:
PayPal Here Partners

Google Analytics from a page not visited by the user

I have google analytics setup for tracking e-commerce transactions when a user returns back from the payment gateway (In this case paypal or barclaycard epdq). This works well when a user comes back to my website and visits a 'thankyou' page the google analytics code gets triggered but when the customer pays for their order and then doesn't come back to the thankyou page the analytics code doesn't get triggered and therefore the transaction doesn't show up in google analytics therefore rendering the data incomplete.
I need a way to trigger the e-commerce analytics code which is in javascript even if the user doesn't visit the page.
So when I get the server side response from paypal that the payment has been made I can then somehow trigger the analytics code here incase the user doesn't return to the thankyou page.
Thanks for your help
One alternative solution is the following:
Place the ecommerce tracking before payment --> you will record more transactions than the real one
Cancel transactions not confirmed by following Google instructions (see http://www.google.com/support/analytics/bin/answer.py?hl=en-uk&answer=72290)
It's not the perfect solution but it works.
You can setup Paypal (IPN) to call back to your site when a customer has completed a transection.
Here is the two Paypal link:
https://www.paypal.com/ipn
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_html_paymentdatatransfer