Created
April 5, 2020 11:29
-
-
Save pierrehenri220/0fb267ae8728a08986750f462da3c551 to your computer and use it in GitHub Desktop.
ClickFunnels Tunnels to CSV generator
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
var csv = []; | |
$( '.sortingGroups .groupForFunnel' ).each(function() { | |
csv.push( $( this ).find( '.title' ).html() + "\n"); | |
$( this ).find( '.groupFunnels .pageListingItem' ).each(function() { | |
csv.push( [ | |
$( this ).find( '.pageListingTitle a' ).html(), | |
$( this ).find( '.pageListingTitle a' ).attr( 'href '), | |
$( this ).find( '.funnelStatSmall' ).text() | |
].join( "\t" ) + "\n" ); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment