mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
matching the expected string with the test string
This commit is contained in:
parent
268d2221d6
commit
35d70f07fd
1 changed files with 3 additions and 3 deletions
|
|
@ -14,14 +14,14 @@ from analytical.utils import AnalyticalException
|
|||
expected_html = """\
|
||||
<script>
|
||||
(function (c, s, q, u, a, r, e) {
|
||||
c.hj = c.hj || function(){ (c.hj.q = c.hj.q || []).push(arguments) };
|
||||
c._hjSettings = { hjid: 123456789 };
|
||||
c.hj=c.hj||function(){(c.hj.q=c.hj.q||[]).push(arguments)};
|
||||
c._hjSettings = { hjid: a };
|
||||
r = s.getElementsByTagName('head')[0];
|
||||
e = s.createElement('script');
|
||||
e.async = true;
|
||||
e.src = q + c._hjSettings.hjid + u;
|
||||
r.appendChild(e);
|
||||
})(window, document, 'https://static.hj.contentsquare.net/c/csq-', '.js', 123456789);
|
||||
})(window, document, 'https://static.hj.contentsquare.net/c/csq-', '.js', %(CONTENTSQUARE_SITE_ID)s);
|
||||
</script>
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue