Announcement

Collapse
No announcement yet.

clixgalore tracking code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    clixgalore tracking code

    We are having a lot of trouble getting clixgalore's tracking code to work in our receipt page. By default it is outputting a value such as £23.11 as 2311 so we added /100 to round it down but that didn't work. This is what we embedded:

    <script language="javascript">
    var SV = <Actinic:Variable Name="SubTotal"/>/100;
    var OID = '<Actinic:Variable Name="TheOrderNumber"/>';
    document.write ('<img
    src="https://www.clixGalore.com/AdvTransaction.aspx?AdID=7500&SV=' + SV +
    '&OID=' + OID + '" height="0" width="0" border="0">');
    </script>

    How does that compare to what other cg users have got ?
    Richard Gosler
    Phoenix Digital Media Ltd
    Dorset, UK

    #2
    but that didn't work
    What happened?

    Did you look at the source of that page to see what was there?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      This is how it output to the receipt:

      <script language="javascript">
      var SV = NETQUOTEVAR:SUBTOTAL/100;
      var OID = 'HD67JG60000026'; document.write ('<img src="https://www.clixGalore.com/AdvTransaction.aspx?AdID=7500&SV=' + SV + '&OID=' + OID + '" height="0" width="0" border="0">'); </script>
      Richard Gosler
      Phoenix Digital Media Ltd
      Dorset, UK

      Comment


        #4
        It looks like <Actinic:Variable Name="SubTotal"/> is not valid on that part of the page. Try deleting that line of JavaScript. The relocate it somewhere it's valid. Layout "Sub Total Row" would be a likely candidate.

        E.g. Add:
        Code:
        <script language="javascript">var SV = <Actinic:Variable Name="SubTotal"/>/100;</script>
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          UPDATE: Your divide by 100 is wrong. SubTotal returns a pretty formatted string like £1,234.56 that you have to turn into a plain number.

          Use:
          Code:
          <script language="javascript">
          var SV = '<Actinic:Variable Name="SubTotal"/>'.replace(/[^0-9\.]/g, '');
          </script>
          Where we initially treat the variable as a string and then strip out everything except 0-9 and period. Result is then a clean number.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Thanks Norman,
            In the end, var SV = <Actinic:Variable Name="SubTotal"/> worked without anything else added to it.
            Richard Gosler
            Phoenix Digital Media Ltd
            Dorset, UK

            Comment


              #7
              Still having fun with this one. Be interested if ANYONE is using clixgalore as an affiliate with Actinic.
              Richard Gosler
              Phoenix Digital Media Ltd
              Dorset, UK

              Comment


                #8
                Hi Richard. I'm currently scouting an affiliate system that will integrate with Actinic. see here for a few sites using Actinic/Clixgalore. How have you found the integration so far, far from painless?

                Comment


                  #9
                  Originally posted by grantglendinnin View Post
                  How have you found the integration so far, far from painless?
                  Clixgalore handily supply the snippet of code (supplied by Actinic) and it doesn't work. The order number writes out but the order value doesn't.

                  So, yes. Far from painless!!!
                  Richard Gosler
                  Phoenix Digital Media Ltd
                  Dorset, UK

                  Comment


                    #10
                    You've been making changes so we'd need to see both the code you're now using and an example of what it looks like on the live page.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      for V8 I think you need the following in the Inner Layout of the Receipt page template, right at the end:

                      <IMG SRC="https://www.clixGalore.com/AdvTransaction.aspx?AdID=YOURCODEHERE&SV=NETQUOTEVAR:FORMATTEDORDERTOTALCGI&OID=NETQUOTEVAR:THEORDERNUMBER" height="1" width="1" border="0">

                      edit: actually gives the cost in pence. need to divide by 100 or use a different netquotevar... now what is it...

                      Update: Im trying NETQUOTEVAR:SUBTOTAL at the moment....

                      I believe this is the same for allaffiliatepro to:

                      <IMG SRC="http://www.YOURSERVERNAME.co.uk/cgi-bin/affiliate/clickme2.cgi?amount=NETQUOTEVAR:FORMATTEDORDERTOTALCGI&id=NETQUOTEVAR:THEORDERNUMBER" height=1 width=1 border=0>

                      Ive just doen this, so lets see, eh!?
                      Andy Warner

                      www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
                      www.RPGMiniatures.com D&D and Star Wars Miniatures

                      Both running the Cart from Search Page hack

                      Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk

                      All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.

                      Comment


                        #12
                        working clixgalore tracking code update for V8.5

                        I seem to have done it right this time!

                        see

                        http://community.actinic.com/showthr...718#post270718

                        painless..... NOT!

                        Last edited by Andy Warner; 02-Apr-2009, 12:32 PM. Reason: typo heaven
                        Andy Warner

                        www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
                        www.RPGMiniatures.com D&D and Star Wars Miniatures

                        Both running the Cart from Search Page hack

                        Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk

                        All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.

                        Comment

                        Working...
                        X