Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #492362

    I have attempted to enter the google tracking code into the code block on a thank you for payment page. However, after updating the page the code changes. In addition, when I check the code using the chrome tag tool, the code appears very different to the one I am trying the add to the page. As a result the google tracking code is not working. What it causing this?

    I love the theme and have been using it for many years and I really hope that this can be resolved.

    Thanks and regards

    #492367

    Sorry I have just realised that you cant see the script – can you check the page using chrome google tag tool?

    #492371

    Hi!

    Please go to Appearance > Editor and add following code to functions.php file

    function add_custom_code_head(){
    ?>
    // YOUR CODE GOES HERE 
    <?php
    }
    add_action('wp_head', 'add_custom_code_head');

    Regards,
    Yigit

    #492437

    Hi

    Thank you.

    I attempted to place the code in the functions.php but then received an error message on the site.

    Can you please check the code for the functions.php – ive added the snippet at the end

    Thanks again

    John

    #492438

    Hey!

    Please go to wp-content/themes/enfold/functions.php file and remove the code.
    Do you mind creating a temporary admin login and posting it here privately so we can add the code for you?

    Cheers!
    Yigit

    #492444

    Hi Credentials below

    #492454

    Hi!

    I have added the code for you. Please review your website now.

    Best regards,
    Yigit

    #492459

    Thank you

    I have checked this and google tag assistant isnt picking it up at all now.

    When someone pays via PayPal they get redirected to /order-received/ page. The conversion code needs to be added so that when people reach this page a conversion is recorded in adwords.

    Your further assistance will be very much appreciated.

    Regards

    #492873

    Hi!

    login credentials are not working anymore. Please check.

    Did you add your code into a code block element? on the site in question? Does it work for you when you activate a default WordPress theme instead?

    Regards,
    Andy

    #492998

    Hi

    Yes I have added the code into the code block but adwords isnt reading the code properly. The Google Chrome Tag Assistant reads the code as below.

    I really appreciate your efforts to resolve this.

    #493502

    Hey!

    does it work for you when you activate a default WordPress theme?

    Cheers!
    Andy

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.