The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #21  
Old 02-18-2013, 08:28 AM
Anabolic Designs's Avatar
Anabolic Designs is offline
Junior Member
 
Join Date: Oct 2012
Posts: 15
Default


Yes, thank you for the quick response. I have done this, yet it's still blank...

It works here: http://apps.facebook.com/ecwid-shop/...24472570916336

But not on the page via the app http://www.facebook.com/pages/Jointh...p_251458316228

Anyone any ideas why this isn't working for me?

...come on guys...not one person has a view on this why it doesn't work?...

Last edited by Makfruit; 02-18-2013 at 08:34 AM.
  #22  
Old 02-18-2013, 08:36 AM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

Quote:
Originally Posted by Anabolic Designs View Post
Yes, thank you for the quick response. I have done this, yet it's still blank...

It works here: http://apps.facebook.com/ecwid-shop/...24472570916336

But not on the page via the app http://www.facebook.com/pages/Jointh...p_251458316228

Anyone any ideas why this isn't working for me?

...come on guys...not one person has a view on this why it doesn't work?...
Hi,

Sorry for the delay. I am looking into it.

Where di you get the affiliate tracking code? Is it exactly the same that is listed in your PAP admin back-end? Usually, the code looks like the one from the instruction in our knowledge base:
http://kb.ecwid.com/w/page/52731315/...ffiliate%20Pro
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
  #23  
Old 02-18-2013, 09:10 AM
Anabolic Designs's Avatar
Anabolic Designs Anabolic Designs is offline
Junior Member
 
Join Date: Oct 2012
Posts: 15
Default

Hi Matvey,

You mean the Facebook custom HTML code. That was earlier in this thread.

The Affiliate Referrer ID I created in the backend of PAP.

As you can see the FB widget works without the custom HMTL just fine, and also works with the custom code just fine, ONLY it does NOT work at the critical stage - on the intended Facebook page.

See the links here:

Fine in the control panel: http://apps.facebook.com/ecwid-shop/...24472570916336

Does not dispay in Facebook page: http://www.facebook.com/pages/Jointh...p_251458316228
  #24  
Old 02-18-2013, 10:00 AM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

Quote:
Originally Posted by Anabolic Designs View Post
Hi Matvey,

You mean the Facebook custom HTML code. That was earlier in this thread.

The Affiliate Referrer ID I created in the backend of PAP.

As you can see the FB widget works without the custom HMTL just fine, and also works with the custom code just fine, ONLY it does NOT work at the critical stage - on the intended Facebook page.

See the links here:

Fine in the control panel: http://apps.facebook.com/ecwid-shop/...24472570916336

Does not dispay in Facebook page: http://www.facebook.com/pages/Jointh...p_251458316228
Thank you for the details.

There are several issues with the way you integrated Ecwid on your Facebook page:
1) As far as I understand, you use the 'Custom HTML code (advanced)' option for store integration.
This option is supposed to be used when you want to alter the tab content and it alters the content completely. So, if you don't include Ecwid integration code there, there won't be any store in the tab. That is what happens: you simply enter the custom code but there is no Ecwid integration code in it hence no store. In order to put there the custom code and you store, you will need to use the widget integration codes from your control panel as you would do if you wanted to integrate your storefront on your site or blog outside Facebook.
2) The main application canvas (https://apps.facebook.com/ecwid-shop...24472570916336) properly displays your store because it is not modified: the custom tab content doesn't affect it anyhow.
The thing is our Facebook application is available in two 'views': tab view and canvas view. You can manually change the content of the tab as you want, but it is not the same for the main app canvas: the main app canvas simply displays your store regardless of the tab content. By the way, it is also the reason why you cannot put any custom codes on your main app canvas store view - the only way to do it is to create a custom FB application. So, unfortunately, it doesn't contain your custom code now.
3) The affiliate code you integrated in your tab doesn't work at the moment - it generates the error "papTrack is not defined" - you can see it if you inspect your store page via the browser developer tools and look at the JavaScript errors on the page. I think the error is caused by invalid code. I believe the code should look as it is recommended by Post Affilaite Pro - you can find the correct code in your Post Affiliate Pro admin back-end. Please also refer to the points 3 and 4 in this article:
http://kb.ecwid.com/w/page/52731315/...ffiliate%20Pro

Please let me know if you need any further assistance.
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
  #25  
Old 02-18-2013, 10:13 AM
Anabolic Designs's Avatar
Anabolic Designs Anabolic Designs is offline
Junior Member
 
Join Date: Oct 2012
Posts: 15
Default

Matvey, thanks for the in depth and speedy response.

That makes sense on the custom html removing all code, I assumed it just allowed 'additional' code to be inserted. So 100% got that and that's fine.

Regarding the affiliate tracking code - the error you are seeing is that the tracking code is not integrated on the Facebook app? So I need to include the code tracking in the custom html tab of the FB app?

I'm not following exactly the error there sorry I'm not a coder by background.
  #26  
Old 02-18-2013, 03:14 PM
Anabolic Designs's Avatar
Anabolic Designs Anabolic Designs is offline
Junior Member
 
Join Date: Oct 2012
Posts: 15
Default

OK, so PAP is tracking click through s but not tracking sales.

Any suggestions now where I have gone wrong? Would be hugely appreciated.
  #27  
Old 02-19-2013, 12:41 PM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

Quote:
Originally Posted by Anabolic Designs View Post
Matvey, thanks for the in depth and speedy response.

That makes sense on the custom html removing all code, I assumed it just allowed 'additional' code to be inserted. So 100% got that and that's fine.

Regarding the affiliate tracking code - the error you are seeing is that the tracking code is not integrated on the Facebook app? So I need to include the code tracking in the custom html tab of the FB app?

I'm not following exactly the error there sorry I'm not a coder by background.
The error most likel meant the tracking code file trackjs.js was not loaded. Now, as far as I can see, you've modified the code and it works. Also, as I see, you included Ecwid integration codes there this time. There is an issue with Ecwid codes though - you will need to change 'http' to 'https' there as I mentioned in one of my previous messages: http://www.ecwid.com/forums/showpost...4&postcount=20 .

As to sales tracking, can you please specify where do you expect it to track sales?
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
  #28  
Old 02-20-2013, 08:47 AM
Anabolic Designs's Avatar
Anabolic Designs Anabolic Designs is offline
Junior Member
 
Join Date: Oct 2012
Posts: 15
Default

Thanks for your help. I'm getting really confused with this, as the track.js code has either or http: https: in the code. So now I have gone back and inserted the original code from the start of this thread as well.

Please see the code below and highlight where I'm going wrong.

Post Affiliate Pro is tracking CLICK throughs just fine, but I placed a test sales, and it isn't tracking the SALE for commission. That's what I mean when I say it is not tracking sales. Everything shows fine in the Ecwid backend as always.

<div>
<script type="text/javascript" src="http://app.ecwid.com/script.js?1575325" charset="utf-8"></script>
<script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style="); </script>
<noscript>Your browser does not support JavaScript. Please proceed to <a href="https://anabolic-designs.ecwid.com">HTML version of Anabolic Designs™ | Perform and Transform</a></noscript>
</div>
<script type="text/javascript"><!--
document.write(unescape("%3Cscript id='pap_x2s6df8d' src='" + (("https:" == document.location.protocol) ? "https://" : "http://") +
"anabolic-designs.postaffiliatepro.com/scripts/trackjs.js' type='text/javascript'%3E%3C/script%3E"));//-->
</script>
<script type="text/javascript"><!--
PostAffTracker.setAccountId('default1');
var AffiliateID='12345';
try {
PostAffTracker.track();
} catch (err) { }
//-->
</script>
<script id="pap_x2s6df8d" src="https://www.anabolc-designs.postaffiliatepro.com/scripts/clickjs.php" type="text/javascript">
</script>
<script type="text/javascript">
var AffiliateID='12345';
papTrack();
</script>
  #29  
Old 02-20-2013, 09:00 AM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

Quote:
Originally Posted by Anabolic Designs View Post
Thanks for your help. I'm getting really confused with this, as the track.js code has either or http: https: in the code. So now I have gone back and inserted the original code from the start of this thread as well.
The code contains the inclusion of Ecwid scripts. This line:
Code:
<script type="text/javascript" src="http://app.ecwid.com/script.js?1575325" charset="utf-8"></script>
It causes the mixed content conflict as it did for the trackjs codes previously: the page is requested by https but contains the http references. In order to fix that, you'll need to change http to https in that line. (It is not related to the tracking code this time).

With regards to the sales tracking, I'll answer your questions soon.
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
  #30  
Old 02-20-2013, 09:26 AM
Anabolic Designs's Avatar
Anabolic Designs Anabolic Designs is offline
Junior Member
 
Join Date: Oct 2012
Posts: 15
Default

OK thanks, so I should still be including both versions of the tracking script from the earlier thread as well as the track.js script?

I have both included now and both seem to call the affiiate tracking code in a different way?

Ie I have both this that you recommended

<script type="text/javascript"><!--
document.write(unescape("%3Cscript id='pap_x2s6df8d' src='" + (("https:" == document.location.protocol) ? "https://" : "http://") +
"anabolic-designs.postaffiliatepro.com/scripts/trackjs.js' type='text/javascript'%3E%3C/script%3E"));//-->
</script>
<script type="text/javascript"><!--
PostAffTracker.setAccountId('default1');
var AffiliateID='12345';
try {
PostAffTracker.track();
} catch (err) { }
//-->
</script>

and I have this that was at the start of this thread where I have amended also to https as recommended. I shall also alter the ecwid to https

<script id="pap_x2s6df8d" src="https://www.anabolic-designs.postaffiliatepro.com/scripts/clickjs.php" type="text/javascript">
</script>
<script type="text/javascript">
var AffiliateID='12345';
papTrack();
</script>

....anyone?...

Last edited by Makfruit; 02-21-2013 at 09:09 AM.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
affiliate, facebook, intergration

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:14 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.