We have a lot of customers who like to track site visitors and how many checkouts were there. This can be achieved by adding code from Google, Facebook, etc to your Thank You page. This can be used for Conversion Tracking, Audience Pixel, etc. This article will give you a walkthrough on where to place that code and how to get it in there.
Applies to Version(s): 3.8.0 - Current
In this article, you will learn:
Note: This code is mainly for SEO and tracking purposes. This code allows you to place a single pixel or line of code across your entire website to report conversions, build audiences, and get rich insights on how your customers visit your site.
For FaceBook Conversion Code, go here.
For Google Conversion Tracking, go here.
First, find the file in which we're going to be making a copy of. The file is Completed.html.
1. Navigate to your file manager via [cart root] / content / engine / design-rework / templates / pages / checkout /
2. Open completed.html then make a copy of the file on your local computer. Save it in your documents and name it completed.html.
3. Upload this file back into your File Manager to a different path via
[cart root]/content/skins/_custom/skin/templates/pages/checkout/ by clicking the Upload File button.
Once you're done, you can then move on to the next part and add the code.
Now that you have completed.html saved to the correct area, you can add the code. A good practice is to
Your code will roughly look like what I have below:
Now you have the code in the text document, press CTRL+A on your keyboard to highlight the full document then CTRL+C to copy. Go into the admin of the cart where you have the file uploaded to and press CTRL+A again to highlight and CTRL+V to paste over the old code.
After you paste your code in, hit Save. Check your “_custom” directory for the same file and add the code there (if it exists).
Your Code has now been placed.
If you didn't get your question answered, please contact the PinnacleCart Support Team. To submit a ticket, go to the My Account drop-down menu at the top right of the admin area and select Support.