Jump to content

PS 1.7.6.9 How to add affiliate code


Recommended Posts

Hi!

I'm trying to figure out how to add affiliate code to my PS 1.7.6.9. classic theme (child version). Affiliate code is based on Circlewise program and this code should be placed in order confirmation page "right after the body opening tag". I looked into order-confirmation.tpl and didn't find the body tag at all. Is it even right place for this script? Here is instruction page I was given:

https://help.targetcircle.com/en/articles/1279837-installing-1st-party-tracking

We'd like the sale script to take affect. ( I do have all parameter values for the script)

Thanks in advance!

Link to comment
Share on other sites

  • 2 weeks later...

I still haven't found solution for this and I also can't find module what could do this for us.

All modules set up own affiliate programs and that is not what we need. We use 3rd party service and it takes care of affiliates.

Can anyone help, please?

 

Link to comment
Share on other sites

No way there is no solution for this?

We get the code to work exept it doesn't fetch the sale amount. What is the parametre that goes to data-amount="amount" ?

The code:

<script src="https://cdn.trackmytarget.com/tracking/s/checkout.min.js" data-type="sale" data-offer-sid="{offer_sid}" data-event-sid="{event_sid}" data-id="{id}" data-amount="{amount}" data-currency="{currency}"></script> <noscript> <img src="https://p.trackmytarget.com/?type=sale&offer_sid={offer_sid}&event_sid={event_sid}&id={id}&amount={amount}&currency={currency}" alt="" width="1" height="1" border="0" /> </noscript>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...