Skip to content

Instantly share code, notes, and snippets.

@dmarman
Created February 13, 2021 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmarman/e6bbfb0b8a214d56da97bee62b3081d2 to your computer and use it in GitHub Desktop.
Save dmarman/e6bbfb0b8a214d56da97bee62b3081d2 to your computer and use it in GitHub Desktop.
Get total subscribers on Tuemilio
<div style="text-align: center; padding-top:15px">There is already <span id="subscribers-count"></span> subscribers on the list.</div>
<script>
Tuemilio('onVisitCreated', function (visit){
document.getElementById('subscribers-count').innerHTML = visit.subscribers_count;
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment