summaryrefslogtreecommitdiff
path: root/app/views/projects/product_analytics/test.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/product_analytics/test.html.haml')
-rw-r--r--app/views/projects/product_analytics/test.html.haml16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/projects/product_analytics/test.html.haml b/app/views/projects/product_analytics/test.html.haml
new file mode 100644
index 00000000000..60d897ee138
--- /dev/null
+++ b/app/views/projects/product_analytics/test.html.haml
@@ -0,0 +1,16 @@
+- page_title _('Product Analytics')
+
+= render 'links'
+
+%p
+ = _('This page sends a payload. Go back to the events page to see a newly created event.')
+
+- if @event
+ %p
+ = _('Last item before this page loaded in your browser:')
+
+ %code
+ = @event.as_json_wo_empty
+
+:javascript
+ #{render 'tracker'}