My Sellerdeck Account | Free Trial

Sellerdeck Community and Knowledge Base

  #16  
Old 13-Feb-2018, 07:54 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,787
Thanks: 9
Thanked 757 Times in 632 Posts
Quote:
Using Chrome's Pixel helper that shows the price as NETQUOTEVAR:
That's exactly what happens on the SD 2018 Beta too!

I guess that SellerDeck don't know that you can't just put <Actinic:Variable Name="Total"/> into a layout that you just plonk into the HEAD of the Receipt page (and other overall layouts).

I think it only works if it's placed in the Checkpout Shopping Cart Grid pages between <Actinic:XMLTEMPLATE NAME="ShoppingCart"> and </Actinic:XMLTEMPLATE>

And that the Perl scripts that generate the total return a price like 30.24 as &#163;30&#46;24
and Facebook won't be happy with that.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
  #17  
Old 13-Feb-2018, 08:26 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,787
Thanks: 9
Thanked 757 Times in 632 Posts
For Jonathan. Replace:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22" >
	fbq('track', 'Purchase', {value: '<actinic:variable encoding="perl" name="Total" selectable="false" />', currency: 'GBP'});
</actinic:block>
With:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22" >
	fbq('track', 'Purchase', {value: '<actinic:variable name="OrderTotalBaseUnit" />', currency: 'GBP'});
</actinic:block>
A P.S. for SellerDeck. Variable <actinic:variablename="OrderTotalBaseUnit" /> will also work on SD 2018's Facebook Pixel Code layout (for the Receipt line). It won't work on the Checkout Page 0 line.

EDITED 15-02-18 to fix typo.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
The Following 2 Users Say Thank You to NormanRouxel For This Useful Post:
Goz (13-Feb-2018), MattSMR (14-Feb-2018)
  #18  
Old 14-Feb-2018, 09:08 AM
MattSMR MattSMR is offline
Registered User
Join Date: Dec 2016
Full Name: Matt McCullough
Posts: 69
Thanks: 11
Thanked 15 Times in 11 Posts
Quote:
Originally Posted by NormanRouxel View Post
For Jonathan. Replace:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22" >
	fbq('track', 'Purchase', {value: '<actinic:variable encoding="perl" name="Total" selectable="false" />', currency: 'GBP'});
</actinic:block>
With:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22" >
	fbq('track', 'Purchase', {value: '<actinic:variablename="OrderTotalBaseUnit" />', currency: 'GBP'});
</actinic:block>
A P.S. for SellerDeck. Variable <actinic:variablename="OrderTotalBaseUnit" /> will also work on SD 2018's Facebook Pixel Code layout (for the Receipt line). It won't work on the Checkout Page 0 line.

Thank you very much Norman! I'll plop this on our pixel today as well.
__________________
Matt. M - SMR Enterprises Ltd.
Reply With Quote
  #19  
Old 14-Feb-2018, 01:38 PM
graphicz's Avatar
graphicz graphicz is offline
Registered User
Join Date: May 2007
Full Name: Jonathan Chappell
Posts: 779
Thanks: 71
Thanked 110 Times in 87 Posts
Further teaser - it may not be a million miles from what I posted initially:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22" >
	fbq('track', 'Purchase', {value: '<actinic:variable name="Total" />', currency: 'GBP'});
</actinic:block>
__________________
Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
Reply With Quote
  #20  
Old 14-Feb-2018, 01:44 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,787
Thanks: 9
Thanked 757 Times in 632 Posts
Code in your post #19 will only work if placed within the Checkout Shopping Cart Grid layout.

Code using OrderTotalBaseUnit will work anywhere within the Receipt page.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
The Following User Says Thank You to NormanRouxel For This Useful Post:
graphicz (14-Feb-2018)
  #21  
Old 14-Feb-2018, 02:53 PM
graphicz's Avatar
graphicz graphicz is offline
Registered User
Join Date: May 2007
Full Name: Jonathan Chappell
Posts: 779
Thanks: 71
Thanked 110 Times in 87 Posts
Thanks Norman - our posts got out of sync.,
__________________
Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
Reply With Quote
  #22  
Old 15-Feb-2018, 08:24 AM
graphicz's Avatar
graphicz graphicz is offline
Registered User
Join Date: May 2007
Full Name: Jonathan Chappell
Posts: 779
Thanks: 71
Thanked 110 Times in 87 Posts
Code:
Purchase
CUSTOM PARAMETERS SENT
value: Hide
<actinic:variablename="OrderTotalBaseUnit" />
currency: GBP
EVENT INFO
URL Called: Show
Load Time: 25.97 ms
Pixel Code: Hide
fbq('track', 'Purchase', {value: '<actinic:variablename="OrderTotalBaseUnit" />', currency: 'GBP'});
Pixel Location: Show
Frame: Window
__________________
Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
Reply With Quote
  #23  
Old 15-Feb-2018, 12:44 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,787
Thanks: 9
Thanked 757 Times in 632 Posts
We'd need to know where you've put the FP Pixel code.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
  #24  
Old 15-Feb-2018, 12:48 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,787
Thanks: 9
Thanked 757 Times in 632 Posts
Error in my post #17 - apologies
Code:
<actinic:variablename="OrderTotalBaseUnit" />
Should be
Code:
<actinic:variable name="OrderTotalBaseUnit" />
I''l fix it now.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
The Following 2 Users Say Thank You to NormanRouxel For This Useful Post:
graphicz (16-Feb-2018), MattSMR (16-Feb-2018)
  #25  
Old 15-Feb-2018, 01:17 PM
graphicz's Avatar
graphicz graphicz is offline
Registered User
Join Date: May 2007
Full Name: Jonathan Chappell
Posts: 779
Thanks: 71
Thanked 110 Times in 87 Posts
Thank you Norman, your code is perfect:

Code:
CUSTOM PARAMETERS SENT
value: 102.24
currency: GBP
EVENT INFO
URL Called: Show
Load Time: 12.92 ms
Pixel Code: Hide
fbq('track', 'Purchase', {value: '102.24', currency: 'GBP'});
Pixel Location: Show
Frame: Window
I tend to put all my schema stuff and the pixel code in the Standard Meta Tags Layout.
__________________
Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
Reply With Quote
  #26  
Old 16-Feb-2018, 09:23 AM
MattSMR MattSMR is offline
Registered User
Join Date: Dec 2016
Full Name: Matt McCullough
Posts: 69
Thanks: 11
Thanked 15 Times in 11 Posts
Good results from us here as well - now correctly tracking conversion value!

Do we need to bill SellerDeck for the community fix for SD2018?

Thanks Jonathan & Norman - great collaboration all around.
__________________
Matt. M - SMR Enterprises Ltd.
Reply With Quote
The Following User Says Thank You to MattSMR For This Useful Post:
graphicz (16-Feb-2018)
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT. The time now is 01:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.