michael_s
06-13-2014, 07:09 AM
V2.1:
- "STORENAME" replaced with "str_replace('http://', '', str_replace('www.', '', HTTP_SERVER))" - Thanks to @altoid and @roaddoctor
RESULT: The store URL with stripped "http://www." leading is used for affiliation instead of Storename.
This fits the Example code provided by Google Universal Analytics
- missing quotes around 'analitics_id' and 'affiliation' added in analytics_page_tracking.php
More... (http://addons.oscommerce.com/info/9059)
- "STORENAME" replaced with "str_replace('http://', '', str_replace('www.', '', HTTP_SERVER))" - Thanks to @altoid and @roaddoctor
RESULT: The store URL with stripped "http://www." leading is used for affiliation instead of Storename.
This fits the Example code provided by Google Universal Analytics
- missing quotes around 'analitics_id' and 'affiliation' added in analytics_page_tracking.php
More... (http://addons.oscommerce.com/info/9059)