This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function slug(input) { | |
input = input.toLowerCase(); | |
input = input.replace(/\s+/g, "-"); | |
input = input.replace(/[&\/\\#,+()$~%.'":*¿?¡!<>{}]/g, ''); | |
return input; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var kwds=document.getElementsByClassName("_GApu"),clicks=document.getElementsByClassName("_GAtjb"),total=kwds.length,content='<table align="center"><tr><th>Keywords</th><th>Clicks</th><th>Impresiones</th><th>CTR</th><th>Ranking</th></tr>',i=0;i<total;i++){var current_kwd=kwds[i].innerHTML,current_clicks=clicks[i].innerText.split("(")[0].replace("%","").replace(".","").trim(),current_impresiones=clicks[i+1].innerText.split("(")[0].replace("%","").replace(".","").trim(),current_ctr=clicks[i+2].innerText.split("(")[0].replace("%","").replace(".","").trim(),current_posicion_media=clicks[i+3].innerText.split("(")[0].replace("%","").replace(".","").trim();i+=3;var row="<td>"+current_kwd+'</td><td align="center">'+current_clicks+'</td><td align="center">'+current_impresiones+'</td><td align="center">'+current_ctr+'</td><td align="center">'+current_posicion_media+"</td>";content+="<tr style=\"font-family: 'Open Sans'\">"+row+"</tr>"}with(output='<html><head><title>Punto Rojo Tools - Google Analytics Keyword Extra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(){for(var kwds=$$("._GApu"),clicks=$$("._GAtjb"),impresiones=$$("._GAtjb"),ctr=$$("._GAtjb"),total=kwds.length,content="",i=0;i<total;i++)content+="<li>"+kwds[i].innerHTML+"</li>";with(output="<html><head><title>Punto Rojo Tools - Google Analytics Keyword Extractor</title><style type='text/css'>body,table{font-family: 'Open Sans', sans-serif;font-size:11px;color:#000}h1,h2,th{color:#405850}th{text-align:left}h2{font-size:11px;margin-bottom:3px}</style></head><body>",output='<img src="https://puntorojo.agency/wp-content/themes/punto_rojo/img/logo_mini.png" width="200px"><br><h1>Google Analytics Keyword Extractor</h1><br>',output+='<table colpadding="10">',output+=content,output+="</table></body></html>",window.open())document.write(output),document.close()}(); |
NewerOlder