ferbie Posted July 14, 2016 Share Posted July 14, 2016 I got the extension for Post Affiliate Pro. I completed the information on the Plug in Management page. However, in my Post Affiliate account it states "Do not forget to integrate your cart with the click tracking code, so the sale tracking can work." I cannot find an area in CubeCart to add the tracking code to. Usually I would do this on the Checkout page but i see no where to edit the check out area. Can someone help me figure out where to put the tracking code so my affiliate's sales will be tracked. Quote Link to comment Share on other sites More sharing options...
ferbie Posted July 18, 2016 Author Share Posted July 18, 2016 Checking in to see if anyone knows how to do this. There is a file I need to be the tracking code in the footer of the cart but not sure how to do that. I don't know which file I need to edit. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 18, 2016 Share Posted July 18, 2016 If the code needs to be in every file, I suspect it would go in main.php. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 19, 2016 Share Posted July 19, 2016 There are two locations where any and all "affiliate" plugins will have CubeCart put their code. The templates content.receipt.php (used when the customer completes a transaction), and content.gateway.php (used when the customer has chosen their preferred payment method). CubeCart has all that is (supposedly) necessary to have the affiliate code incorporated in the web page. Note: this is not for every page. For example, it makes to sense to have the affiliate code in a new customer sign up form. The module suggests that either the gateway or the complete/receipt page will hold the code found in the module's tracker.inc.php file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.