Skip to content

Commit

Permalink
Merge pull request #54 from nnande/feature/order_completed_event
Browse files Browse the repository at this point in the history
call analytics.track() on order completed page
  • Loading branch information
damianlegawiec authored Dec 3, 2020
2 parents 9ea4777 + 4c8321f commit 38c1712
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<script>
if (typeof analytics !== 'undefined') {
analytics.page('Order Completed', <%= order_json.html_safe %>);
analytics.track('Order Completed', <%= order_json.html_safe %>);
}
</script>
<% end %>

0 comments on commit 38c1712

Please sign in to comment.