
Originally Posted by
badarac
Hi Eric,
Yes I checked and it is in fact your mod. That line of code appears in your includes/templates/my_templates/google_analytics/google_analytics.php
at around line 81. For some reason it's not detecting that the calling page is checkout_success. I added some text to the else path to verify that it was in fact executing the else code and it is. Any suggestions?
I see that here. Are you using the newest version? (I thought I changed that line a while back ... it will be altered in the next release (out soon with some great new features.)
Do this for me.
Change that line of code to the following and see if it has any effect (this is the line of code that it is being altered to in the new release)
PHP Code:
if ($_GET['main_page']=="checkout_success") {
So you are removing the previous line of code and in place of it adding this. (Do this in each location that appears in the script.)
Let me know if that has any impact. I've never heard of this mod every causing any issues with that line (or ecommerce tracking at all) and I've got it running on 1.3.9+ versions with no issues.
There is always a first time for everything though and we'll figure out what is causing it.
Let me know if the above works!