Skip to content

Instantly share code, notes, and snippets.

@dmarman
Created February 13, 2021 18:39
Show Gist options
  • Save dmarman/e6bbfb0b8a214d56da97bee62b3081d2 to your computer and use it in GitHub Desktop.
Save dmarman/e6bbfb0b8a214d56da97bee62b3081d2 to your computer and use it in GitHub Desktop.

Revisions

  1. dmarman created this gist Feb 13, 2021.
    7 changes: 7 additions & 0 deletions total_subscribers.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <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>