pashaps Posted September 14, 2012 Share Posted September 14, 2012 I can't seem to get Google Analytics Goals to work with my prestashop OPC checkout process. Has anyone accomplished this? I've tried using head match on the urls as they appear to the browser I've tried using just the conversion page I've tried regular expression on the conversion page I've tried /step0, etc... Nothing has worked yet. As a note: Ecommerce tracking works 100% right out of the box. Link to comment Share on other sites More sharing options...
pashaps Posted September 14, 2012 Author Share Posted September 14, 2012 bump... ? Link to comment Share on other sites More sharing options...
Mr S Posted September 26, 2012 Share Posted September 26, 2012 Try adding pageTrack in file ./modules/ganalytics/ganalytics.php function hookOrderConfirmation($params) { ... $smarty->assign('ganalytics_id', $ganalytics_id); $smarty->assign('pageTrack', 'order-confirmation.php'); $smarty->assign('isOrder', true); ... Link to comment Share on other sites More sharing options...
pashaps Posted September 26, 2012 Author Share Posted September 26, 2012 Just implemented. Will let you know if it works. Link to comment Share on other sites More sharing options...
ienabellamy Posted October 26, 2012 Share Posted October 26, 2012 hi pashaps any news ?? i have the same problem Link to comment Share on other sites More sharing options...
pashaps Posted November 15, 2012 Author Share Posted November 15, 2012 this did work. Link to comment Share on other sites More sharing options...
Mr S Posted November 17, 2012 Share Posted November 17, 2012 worked for me too Link to comment Share on other sites More sharing options...
jamape Posted November 20, 2012 Share Posted November 20, 2012 Hola, Podríais explicarlo para dummies? Que es lo que se tiene que incluir exactamente donde? Mil gracias! Link to comment Share on other sites More sharing options...
cationicstarch Posted November 18, 2013 Share Posted November 18, 2013 Can somebody explain in which part of the ganalytic.php should i paste this code.. i have this function function hookOrderConfirmation($params) but nothing inside it resemble to { ...$smarty->assign('ganalytics_id', $ganalytics_id);$smarty->assign('pageTrack', 'order-confirmation.php');$smarty->assign('isOrder', true);... Should i just add it inside the {} ? please help, my goal setting is also not working.. I am using prestashop 1.4.8.2 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts