Login   |   21 Mar 2019 
Support Center » Knowledgebase » 5-0012-EN-How to Setup Google eCommerce Tracking in ShopFactory?
 5-0012-EN-How to Setup Google eCommerce Tracking in ShopFactory?
Article

Google Analytics Tracking Code: Tracking means recording the usage of a site by visitors. Part of the usage is the sales conversions information;  the eCommerce tracking code that sends the sales conversions information must be added on the "Thank you" page of your shop.
(Note: If you are accepting PayPal payments, make sure you turn ON the "Auto Return" option in your PayPal account for the orders to be tracked correctly. Refer to the information provided below this article.)

1. Download and save the text file from this link:

Download the Google tracking code below:

http://download.shopfactory.com/support/googletracking.zip

----------------------------------

  • Click on the link and save the zip file to a directory or local folder. 
  • Once download is completed, open the directory/folder where you saved the file. 
  • Right click on the "googletracking.zip" file and select "Extract Here...".  A text file (googletracking.txt) will appear; double-click to open the file in your default text editor, i.e. Notepad.

2. Copy the entire code (as it is; make sure there are no line breaks in the code provided) and paste it in your Thank You page.

Refer to this KB article on how to Add custom HTML code in ShopFactory:

How do I add a custom HTML code to a page or to my entire website?

http://support.shopfactory.com/kayako/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=348

 

3. Important: Replace the XXXXXXX {(in the line: getTracker("UA-XXXXXXX-1")} with the correct ID (from your own Google analytics account) Make sure you enter your correct Google ID here to ensure this works.

4. The code should be at the top location (set location/position to 1).

5. You may need to enable "Rebuild All" from Settings menu -> and then Preview in External browser.

(Untick Rebuild All before publishing.)

6. Publish your shop again so that the changes are uploaded online.

 

NOTE: Accepting PayPal payments?

To ensure your orders paid in PayPal are correctly tracked by Google - setup up the Auto Return URL so buyers are immediately redirected back to your shop.

4-0089-EN- PayPal payments: Setting up Auto Return URL so buyers are immediately redirected back to shop

 

With Auto Return for Website Payments, your buyers are redirected back to your site immediately after clicking the Pay button on the Payment Confirmation page.

Refer to this PayPal article for more information,

https://www.paypal.com/au/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside

 



Article Details
Article ID: 424
Created On: 01 Feb 2011 12:00 AM

 This answer was helpful  This answer was not helpful

 Back
 Search
 Article Options
Home | Knowledgebase | Downloads
Language:

Help Desk Software by Kayako SupportSuite v3.70.02