Skip to content

Commit

Permalink
Track linked accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
asennoussi committed Sep 17, 2022
1 parent 6e7aef7 commit 4eb4b0b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion dashboard/templates/dashboard/link_status.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "dashboard/base.html" %}
{% load static %}
{% load settings_value %}
{% block title %} Emailgurus - Filter emails from your contact list {% endblock %}
{% block content %}
{% if view.kwargs.status == 'success' %}
Expand All @@ -17,11 +18,25 @@
<p class="text-center">redirecting you to the dashboard...</p>

</div>

<!-- Google Tag Manager -->
<script>
var gtm_container = '{% settings_value "GTM_CONTAINER_ID" %}';
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer',gtm_container);</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={% settings_value "GTM_CONTAINER_ID" %}"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<script>
dashboard_link = '{% url 'dashboard' %}'
setTimeout(function(){
window.location.href = dashboard_link;
}, 3000);
}, 5000);
</script>
{% else %}
<div class="d-flex justify-content-center">
Expand Down

0 comments on commit 4eb4b0b

Please sign in to comment.