Jump to content

Parameters track the success of order?


GrayHunter

Recommended Posts

Hello,

 

Could you tell me pls what are the parameter (arguments) that I can give a tracking service to track the success order? (I mean what parameter do WHMCS send (which can be seen by a tracking service) when a client order smth successfully?)

 

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
var yaParams = {/*HERE ARE THE PARAMETRS*/};
</script>
....

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

You can use variables including {$orderid} {$ordernumber} and {$amount} where necessary to fill in order details.

 

To get a full list you can add the {debug} tag to the page, visit in your browser (by placing and completing an order) and then you'll see a popup containing all the available variables: http://docs.whmcs.com/Template_Syntax

Link to comment
Share on other sites

So, I should do like this:

 

<!-- Yandex.Metrika counter -->

<script type="text/javascript">

var yaParams = {{$orderid}};

</script>

....

 

or

 

<!-- Yandex.Metrika counter -->

<script type="text/javascript">

var yaParams = {$orderid};

</script>

....

 

?

 

I think no as these code is placed in a php file of the WordPress theme....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated