Track donations in google analytics
This commit is contained in:
11
templates/donate/thanks.html
Normal file
11
templates/donate/thanks.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'base_simple.html' %}
|
||||
|
||||
{% block extraAnalytics %}
|
||||
_gaq.push(['_addTrans', '{{donation.id}}', '', '{{donation.quantity}}', '0.00', '0.00', '', '', '']);
|
||||
_gaq.push(['_addItem', '{{donation.id}}', 'donation', 'Donation', '', '{{donation.quantity}}', '1']);
|
||||
_gaq.push(['_trackTrans']);
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Thanks for donating!
|
||||
{% endblock %}
|
Reference in New Issue
Block a user