Briljander Posted January 14, 2018 Share Posted January 14, 2018 Hi, Can someone give me a hint of how to add Google AdWords and Facebook tracking pixel to a custom order confirmation page? Either by adding the scripts. I have also noticed dh42 got free modules for this but I guess these will just end up at the regular order confirmation page. I know where to find the custom order confirmation page in modules folder but do not understand how I can get them there? Thanks in advance Link to comment Share on other sites More sharing options...
SLiCK_303 Posted January 14, 2018 Share Posted January 14, 2018 I dont have any experience with doing that, but I'm thinking BO>Preferences>Custom Code might be of some use..? Link to comment Share on other sites More sharing options...
lesley Posted January 14, 2018 Share Posted January 14, 2018 I think you will have to use a commercial module, or with an override and a modification. The dh42 ones cannot handle that. Link to comment Share on other sites More sharing options...
Briljander Posted January 15, 2018 Author Share Posted January 15, 2018 Thank you for your answers. I have been searching for commercial modules too but haven't found any that I know will work. But wouldnt it be possible to just add the JavaScript to the custom order confirmation page? But I don't know where to add it? In .tpl? In .js? Or in another page? Link to comment Share on other sites More sharing options...
yaniv14 Posted January 15, 2018 Share Posted January 15, 2018 You can just add it to the tpl file. It won't be clean, but will work. Remember that is you have curly braces in your js code, you will have to wrap it inside {literal}.......{/literal} Also make sure you are editing the correct file, because you might have a version loaded from the template folder and not the root module folder. Good luck. Link to comment Share on other sites More sharing options...
Tomik Posted January 15, 2018 Share Posted January 15, 2018 @slick_303 said in Add tracking pixels to custom checkout: I dont have any experience with doing that, but I'm thinking BO>Preferences>Custom Code might be of some use..? Would this not work? because im looking at the same Link to comment Share on other sites More sharing options...
Briljander Posted January 16, 2018 Author Share Posted January 16, 2018 Thanks a lot for your answers. I kept on searching and found out that Google tag manager might be an even better choice. Let's see if I can get it to work, found some instruction videos on YouTube. Link to comment Share on other sites More sharing options...
wakabayashi Posted January 17, 2018 Share Posted January 17, 2018 I use a PS module to integrate Tag Manager... It comes with files to import: https://addons.prestashop.com/de/analysen-statistiken/27146-premium-google-tag-manager.html With retargeting I still have problems, but the rest (especially conversion tracking in Adwords) is working for me... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now