Jump to content
EstebanC

Adwords conversion tracking code is not working

Recommended Posts

Hello,

 

Does anyone had problems using adwords conversion tracking code + cloudflare + whmcs ?

 

We edited complete.tpl in order forms but signups are not being tracked.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines