Post by pooja-vishnoi » Thu Nov 30, 2017 8:46 pm

Hi,
I am using opencart for my store and it is integrated with google analytics. I have few affiliates joined and promoting links thru blog or social media.

I want to know that how to track that how much traffic is sent from which affiliate links? and on which pages?

does it reflect on referral traffic page in analytics? Or do we need to do any settings in analytics using affiliate tracking code? if yes how to do that?

Please suggest.

New member

Posts

Joined
Sun Feb 10, 2013 9:58 pm

Post by straightlight » Thu Nov 30, 2017 9:16 pm

No OC version provided.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pooja-vishnoi » Thu Nov 30, 2017 9:27 pm

OC versions i am using are
V2.0.3.1 and V3.0.2.0

New member

Posts

Joined
Sun Feb 10, 2013 9:58 pm

Post by straightlight » Thu Nov 30, 2017 10:04 pm

I want to know that how to track that how much traffic is sent from which affiliate links? and on which pages?
On the catalog-end side, the affiliate links can be tracked with the route: account/tracking . index.php?route=account/tracking . Take note that you do need to be logged in in order to use this page. In addition, v2.x and v3.x uses different analogy for affiliate subjects since v3.x first requires nowadays to be a customer before becoming an affiliate.

As for the file to modify, I would recommend using the catalog/view/theme/<your_theme>/account/tracking.twig file (v3.x) and point to a separate controller file or simply using an extension to track the tracking code.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Majnoon » Tue Dec 21, 2021 3:36 pm

straightlight wrote:
Thu Nov 30, 2017 10:04 pm
On the catalog-end side, the affiliate links can be tracked with the route: account/tracking . index.php?route=account/tracking . Take note that you do need to be logged in in order to use this page. In addition, v2.x and v3.x uses different analogy for affiliate subjects since v3.x first requires nowadays to be a customer before becoming an affiliate.

As for the file to modify, I would recommend using the catalog/view/theme/<your_theme>/account/tracking.twig file (v3.x) and point to a separate controller file or simply using an extension to track the tracking code.
Apologize for commenting on this old thread. But this doesn't resolve the issue what OP did mention that time:
I want to know that how to track that how much traffic is sent from which affiliate links? and on which pages?
I am also having the same question and need answer for this.

Thanks

Active Member

Posts

Joined
Fri Feb 05, 2021 8:29 pm
Who is online

Users browsing this forum: w3_smart and 20 guests