This file contains 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
<script> | |
(function($) { | |
$(document).ajaxSuccess(function( event, xhr, settings ) { | |
dataLayer.push({ | |
'event': 'ajaxSuccess', | |
'eventCategory': 'AJAX', | |
'eventAction': settings.url, | |
'eventLabel': xhr.responseText | |
}); | |
}); |
This file contains 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
library("igraph") | |
# Intercambiar ruta a su Screaming Frog Todos_Outlink CSV. Para Windows, recuerde cambiar las barras invertidas de barras diagonales. | |
links <- read.csv("C:/Documents/screaming-frog-all-outlinks.csv", skip = 1) # CSV Path | |
# Esta línea de código es opcional. Se filtra el JavaScript, CSS e imágenes. Técnicamente debe mantenerlos allí. | |
links <- subset(links, Type=="HREF") # Optional line. Filter. | |
links <- subset(links, Follow=="true") | |
links <- subset(links, select=c(Source,Destination)) | |
g <- graph.data.frame(links) | |
pr <- page.rank(g, algo = "prpack", vids = V(g), directed = TRUE, damping = 0.85) | |
values <- data.frame(pr$vector) |
This file contains 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
library("igraph") | |
# Intercambiar ruta a su Screaming Frog Todos_Outlink CSV. Para Windows, recuerde cambiar las barras invertidas de barras diagonales. | |
links <- read.csv("C:/Documents/screaming-frog-all-outlinks.csv", skip = 1) # CSV Path | |
# Esta línea de código es opcional. Se filtra el JavaScript, CSS e imágenes. Técnicamente debe mantenerlos allí. | |
links <- subset(links, Type=="HREF") # Optional line. Filter. | |
links <- subset(links, Follow=="true") | |
links <- subset(links, select=c(Source,Destination)) | |
g <- graph.data.frame(links) | |
pr <- page.rank(g, algo = "prpack", vids = V(g), directed = TRUE, damping = 0.85) | |
values <- data.frame(pr$vector) |