Tagged: ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1112953

    Hello,

    I need to paste the Retargetting code as I am running a campaign in Google and I want to targe users that already visited my site.

    The problem is that i cannot past the code as in the Child editor theme it doesnt appear the header file.

    In the options I saw you have one section for google services but here is cannot only paste the analytics account. Any solution for this problem?

    Thanks

    marcos

    #1113116

    Hey marcosmendieta,

    What code do you need to add and where exactly? We can give you a function to use.

    Best regards,
    Rikard

    #1113196

    This is the code i need to put, different one that the google analytics (private info field)

    #1113462

    Hi,

    Thanks for that, and where should it go? Header/after opening body tag/footer?

    Best regards,
    Rikard

    #1113524

    As metioned in my first messahe, it should go in the header.

    #1113657

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #1113672

    You cna use my details

    #1113860

    Hi,

    Please try this in your functions.php file:

    function marcosmendieta_add_custom_code(){ 
    ?>
    Script goes here
    <php?
    }
    add_action('wp_head', 'marcosmendieta_add_custom_code');

    Best regards,
    Rikard

    #1113864

    I got the following error message:

    Your PHP code changes were rolled back due to an error on line 14 of file wp-content/themes/enfold-child/functions.php. Please fix and try saving again.

    syntax error, unexpected ‘?’

    #1114082

    Hi marcosmendieta,

    Please try like this:

    
    function marcosmendieta_add_custom_code(){ 
    ?>
    Script goes here
    <?php
    }
    add_action('wp_head', 'marcosmendieta_add_custom_code');
    

    Best regards,
    Victoria

    #1115081

    Again error message syntax error, unexpected ‘?’
    Apparently the issue is in ?>

    #1115211

    Hi marcosmendieta,

    Can you show us the whole code you have in your functions.php?
    Just paste your code in https://pastebin.com/ then post the link here.
    You can put the link in private content, if you want it to be seen only by you and the moderators.

    Best regards,
    Nikko

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