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 😉
D4 Hi , sorry to bother you, and you helped me a lot. Have a great start to the week . see you soon