HtmlToText
"); } var js = jquery.noconflict(); js(document).ready(function () { function trackevent(seccion) { var loc = window.location; var pathname = loc.pathname.substring(0, loc.pathname.lastindexof('/') + 1); var patharray = window.location.pathname.split('/'); switch (patharray[1]) { case 'about-peru': switch (seccion) { case 1: ga('send', 'event', 'traveler tools inter', 'click', 'opcion accommodations inter'); ga('send', 'event', 'traveler tools inter', 'click', 'option search inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 2: ga('send', 'event', 'traveler tools inter', 'click', 'opcion restaurant inter'); ga('send', 'event', 'traveler tools inter', 'click', 'option search inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 3: ga('send', 'event', 'traveler tools inter', 'click', 'opcion transportation inter'); ga('send', 'event', 'traveler tools inter', 'click', 'option search inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 4: ga('send', 'event', 'travelling bus inter', 'click', 'option search inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 5: ga('send', 'event', 'festivals inter', 'click', 'option view all inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 6: ga('send', 'event', 'events inter', 'click', 'option view all inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 7: ga('send', 'event', 'search inter', 'click', 'option search inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 8: ga('send', 'event', 'news inter', 'click', 'opction view all inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 9: ga('send', 'event', 'suscribe inter', 'click', 'option learnmore inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 10: ga('send', 'event', 'anual meeting inter', 'click', 'anual meeting inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 11: ga('send', 'event', 'buy online inter', 'click', 'option from inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 12: ga('send', 'event', 'buy online inter', 'click', 'option to inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 13: ga('send', 'event', 'buy online inter', 'click', 'option date inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 14: ga('send', 'event', 'buy online inter', 'click', 'option return inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 15: ga('send', 'event', 'buy online inter', 'click', 'option search inter'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; } break; case 'de': switch (seccion) { case 1: ga('send', 'event', 'traveler tools germany', 'click', 'opcion accommodations germany'); ga('send', 'event', 'traveler tools germany', 'click', 'option search germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 2: ga('send', 'event', 'traveler tools germany', 'click', 'opcion restaurant germany'); ga('send', 'event', 'traveler tools germany', 'click', 'option search germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 3: ga('send', 'event', 'traveler tools germany', 'click', 'opcion transportation germany'); ga('send', 'event', 'traveler tools germany', 'click', 'option search germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 4: ga('send', 'event', 'travelling bus germany', 'click', 'option search germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 5: ga('send', 'event', 'festivals germany', 'click', 'option view all germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 6: ga('send', 'event', 'events germany', 'click', 'option view all germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 7: ga('send', 'event', 'search germany', 'click', 'option search germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 8: ga('send', 'event', 'news germany', 'click', 'opction view all germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 9: ga('send', 'event', 'suscribe germany', 'click', 'option learnmore germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 10: ga('send', 'event', 'anual meeting germany', 'click', 'anual meeting germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 11: ga('send', 'event', 'buy online germany', 'click', 'option from germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 12: ga('send', 'event', 'buy online germany', 'click', 'option to germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 13: ga('send', 'event', 'buy online germany', 'click', 'option date germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 14: ga('send', 'event', 'buy online germany', 'click', 'option return germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 15: ga('send', 'event', 'buy online germany', 'click', 'option search germany'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; } break; case 'en-au': switch (seccion) { case 1: ga('send', 'event', 'traveler tools australia', 'click', 'opcion accommodations australia'); ga('send', 'event', 'traveler tools australia', 'click', 'option search australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 2: ga('send', 'event', 'traveler tools australia', 'click', 'opcion restaurant australia'); ga('send', 'event', 'traveler tools australia', 'click', 'option search australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 3: ga('send', 'event', 'traveler tools australia', 'click', 'opcion transportation australia'); ga('send', 'event', 'traveler tools australia', 'click', 'option search australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 4: ga('send', 'event', 'travelling bus australia', 'click', 'option search australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 5: ga('send', 'event', 'festivals australia', 'click', 'option view all australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 6: ga('send', 'event', 'events australia', 'click', 'option view all australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 7: ga('send', 'event', 'search australia', 'click', 'option search australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 8: ga('send', 'event', 'news australia', 'click', 'opction view all australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 9: ga('send', 'event', 'suscribe australia', 'click', 'option learnmore australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 10: ga('send', 'event', 'anual meeting australia', 'click', 'anual meeting australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 11: ga('send', 'event', 'buy online australia', 'click', 'option from australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 12: ga('send', 'event', 'buy online australia', 'click', 'option to australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 13: ga('send', 'event', 'buy online australia', 'click', 'option date australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 14: ga('send', 'event', 'buy online australia', 'click', 'option return australia'); console.log("-portal: "+patharray[1]+" - seccion: "+seccion); break; case 15: g