PayPal & Google Analytics ecommerce Integration -


i trying integrate paypal google analytics ecommerce tracking using paypal ipn api. know there few questions here on similar none answering query.

i using paypal buy buttons customers leaving main site , purchase happening on paypal site.

the paypal ipn listener part written in php , think ok. can send paypal data transaction in ga using ga api (_addtrans, _additem , _tracktrans). not problem.

what not able figure out how link initial ga user data ([where came from, clicked etc]) particular paypal purchase (remember purchase happening on paypal site , not on main site).

i found link in solution suggested there no specific details how might implemented in php/javascript script.

http://marketlytics.com/blog/accurately-integrate-paypal-with-google-analytics-ecommerce/

basically, question is, how following words can mapped php/javascript script?

to make work started identifying user when leave paypal make > purchase. essential because need able connect user’s initial >behavior [where came from, clicked etc] final purchase. because >the user may or may not come essential have way identify users.

second configured ipn send alerts whenever transaction completed. using > information transaction , unique identifier configured in first > had data needed tell google analytics order.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -