• Resolved leblanc1

    (@leblanc1)


    What code I need to install in the functions file my son theme manager customizr to add tags to my site?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter leblanc1

    (@leblanc1)

    thanks

    Thread Starter leblanc1

    (@leblanc1)

    Hi d4 ?you’re out there D_4 ?D_4 you could say I have to add code to add the id tracking google analytics is ” UA- XXXX ” to send the event to google analytics .

    <script text=”javascript”>
    jQuery(document).ready(function($) {
    var $menu_items = $(‘#menu-item-315, #menu-item-1331, #menu-item-1645, #menu-item-1685, #menu-item-1964’);
    $($menu_items).children(‘a[href!=””]’).click(function(){
    var href=$(this).attr(‘href’);
    DataLayer.push (
    });
    });
    </script>

    Hi leblanc1
    in the code above, the “error” is:
    <script text="javascript"> which should be:
    <script type="text/javascript">

    For the data layer part, I told, cannot help, don’t know anything about that ??

    Thread Starter leblanc1

    (@leblanc1)

    D4 Hi , sorry to bother you, and you helped me a lot. Have a great start to the week . see you soon

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tags’ is closed to new replies.