Skip to content

Commit 64ea9e1

Browse files
committed
add GA, extra fields to Engagement display
1 parent a35750d commit 64ea9e1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

api/skills_matcher_db/templates/admin/core/metrics.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ <h2>New Engagements by Month</h2>
8282
{% endfor %}
8383

8484
</table>
85+
86+
<h2>Google Analytics</h2>
87+
<iframe width="1000" height="600" src="https://lookerstudio.google.com/embed/reporting/c422a849-fb00-415e-9706-48b88710f0f3/page/kIV1C" frameborder="0" style="border:0" allowfullscreen sandbox="allow-storage-access-by-user-activation allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox"></iframe>
8588

8689

8790

api/skills_matcher_db/users/admin.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,11 @@ class FavoriteAdmin(admin.ModelAdmin):
6161

6262
@admin.register(Engagement)
6363
class EngagementAdmin(admin.ModelAdmin):
64-
list_display = ["project_owner", "expert", "date_created", "date_responded"]
64+
list_display = [
65+
"project_owner",
66+
"expert",
67+
"engagement_type",
68+
"response",
69+
"date_created",
70+
"date_responded",
71+
]

0 commit comments

Comments
 (0)