PDA

View Full Version : Affiliate tracking not working when using include


Richelo Killian
09-21-2009, 05:28 PM
Hi,

Right, this is my setup.

Main sales site at http://www.mydomain.com/

Delavo site at http://mydelavosite.com/

On the main site, I include the JS below the <body> tag like so:
<script language=javascript src="http://mydeavosite.com/delavoinstalldir/aff.js"></script>

I get the Inc code for the main sales page from Delavo, and its: <script src="http://mydeavosite.com/delavoinstalldir/order/init_package_inc.txt?pack_id=162&signature=hk"></script>

Now I convert it to a stamped link: <script>jvmPrintHref('http://mydeavosite.com/delavoinstalldir/order/init_package_inc.txt?pack_id=162&signature=hk','');</script>

The quotes at the end, before the ) is 2 x ' with nothing in between. It's NOT ".

I include <script language=javascript src="http://mydeavosite.com/delavoinstalldir/aff.js"></script> on EVERY order page, including the thank you page.

It's a 100% free product. There are OTO's, but, not even looking at that now.....

With the setup as outlined above, when going to the main sales page WITH and affiliate link. The cookie for the aff id IS saved on my computer, but, when completing the signup, and checking the syslog for the sale, it says there was no affiliate!

Yes, the required aff program IS assigned to the aff user being tested with.

This seems to be a problem with affiliate tracking when using the Incl code, OR, I am stamping the Incl code incorrectly.

Michael Wright
09-22-2009, 01:03 AM
Richelo

Something needs to go between the '' Text Or Image

<script>jvmPrintHref('http://mydeavosite.com/delavoinstalldir/order/init_package_inc.txt?pack_id=162&signature=hk','Pay Now Text') ;</script>

<script>jvmPrintHref('http://mydeavosite.com/delavoinstalldir/order/init_package_inc.txt?pack_id=162&signature=hk','<img src=http://mydelavosite.com/images/ordbut.jpg border="0">') ;</script>



Mike

Richelo Killian
09-22-2009, 08:53 AM
Mike,

But, it's an include link, not an actual order link. So, it will ask for email address right on the sales page, and there will be no link to the 1st order page.

Michael Wright
09-22-2009, 02:34 PM
Richelo

Try removing the ,''

<script>jvmPrintHref('http://mydeavosite.com/delavoinstalldir/order/init_package_inc.txt?pack_id=162&signature=hk');</script>

Mike

Richelo Killian
09-22-2009, 03:10 PM
Nope, now it just shows a link with the text: Undefined

Richelo Killian
09-22-2009, 03:25 PM
Right, I have now tried every possible itteration of using jvmPrintHref and NONE of them display anything!

When I use JUST the Inc code, then it show 100%, and I can signup, BUT, it does not track the affiliate who sent the visitor.

I am convinced this is a bug.

Again jvmPrintHref format shows NOTHING, and Inc code on it's own does not track affiliate.