We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2534895 commit 6fb1770Copy full SHA for 6fb1770
โ_templates/layout.html
@@ -11,5 +11,29 @@
11
ga('create', 'UA-71919972-3', 'auto');
12
ga('send', 'pageview');
13
14
+ $("[data-behavior='call-to-action-event']").on('click', function(){
15
+ ga('send', {
16
+ hitType: 'event',
17
+ eventCategory: 'Download',
18
+ eventAction: 'click',
19
+ eventLabel: $(this).attr("data-response")
20
+ });
21
22
+
23
+ $("[data-behavior='was-this-helpful-event']").on('click', function(){
24
+ $(".helpful-question").hide();
25
+ $(".was-helpful-thank-you").show();
26
27
28
+ eventCategory: 'Was this Helpful?',
29
30
31
32
33
34
+ if (location.pathname == "/") {
35
+ $(".helpful-container").hide();
36
+ $(".hr-bottom").hide();
37
+ }
38
</script>
39
{% endblock %}
0 commit comments