Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #400685

    I have the Google Analytics tracking number entered under Enfold -> Options -> Google Analytics Tracking Code
    Google Analytics is not working because of the generated sourcecode is within the HEAD section and not within the BODY section of the html. If I duplicate the code generated by enfold 1:1 to a text element in the footer area, Google Analytics starts to pick up usage information.

    #401056

    Hey tduehrsen!

    Are you sure your pasting the full code that Google Analytics gives you? Try deactivating all plugins and send us a WordPress login so we can take a look.

    Cheers!
    Elliott

    #401074

    Hi

    you can show the source code of my starting page: http://www.schattenspender.ch

    Line 76 is the code generated by enfold. No activity in Google Analytics for 3 days.

    Line 210 is the code from the footer widget. After I inserted that, I can monitor all traffic in Google Analytics.

    Best Regards

    Thomas

    #401375

    Hi!

    Add this to the functions.php:

    add_action('after_theme_setup', 'avf_tracking_code');
    function avf_tracking_code() {
    		remove_action('wp_head', 'avia_print_tracking_code', 100000);
    		remove_action('wp_footer', 'avia_print_tracking_code', 100000);
    		add_action('ava_after_main_container', 'avia_print_tracking_code', 10);
    }

    Cheers!
    Ismael

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