Jump to content

Adwords conversion tracking code is not working


EstebanC

Recommended Posts

is the integration code set correctly?

many WHMCS users here in forum did the integration before, most of them had the same issue "how to integrate it".

 

in complete.tpl file you need to place your Javascript code between these lines

{if $ispaid}
<!-- Enter any HTML code which needs to be displayed once a user has completed the checkout of their order here - for example conversion tracking and affiliate tracking scripts -->
{/if}

 

but in TPL files you need to wrap you Javascript codes with the Literal tag, so the final should look like this

 

{if $ispaid}
<!-- Enter any HTML code which needs to be displayed once a user has completed the checkout of their order here - for example conversion tracking and affiliate tracking scripts -->
{literal}
<script type="text/javascript">
// My Tracking Code is right here
</script>
{/literal}
{/if}

 

also you need to integrate your tracking code into all of your templates

Link to comment
Share on other sites

  • 5 years later...

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