Created
September 23, 2019 21:19
-
-
Save johnkraczek/00c4c1bf4bc57577969105cfd2f6f346 to your computer and use it in GitHub Desktop.
ClickFunnels Dynamic Text.
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
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-sheetrock/1.1.4/dist/sheetrock.min.js"></script> | |
<script> | |
var ssDate = 'https://docs.google.com/spreadsheets/d/1WadaxMr90B4LKoLGdS2tupf_ScKWq6VqvcZTfBygUnE/edit#gid=0'; | |
var useEventData = function(err, opt, res) { | |
if (!err) { | |
var reEvent = res.rows[1].cellsArray[0]; | |
$('#headline-26391 div')[0].innerHTML = reEvent; | |
$('#button-25965 span.elButtonSub')[0].innerHTML = reEvent; | |
} | |
} | |
sheetrock({ | |
url: ssDate, | |
query: "select A", | |
//fetchSize: 1, | |
callback: useEventData, | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment