Skip to content

Commit 27057aa

Browse files
committed
Remove dumps and add default dsn
1 parent 8ac4432 commit 27057aa

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

templates/_userComScripts.html.twig

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
{% endif %}
2727

2828
<!-- Google tag (gtag.js), plugin provided by Spinbits -->
29-
{% dump %}
3029
<script async src="https://www.googletagmanager.com/gtag/js?id={{ id }}{{ url_suffix|raw }}"></script>
3130
<script>
3231
window.dataLayer = window.dataLayer || [];
@@ -41,12 +40,11 @@
4140
});
4241
}
4342
{% if app.session is not null and app.session.started %}
44-
{% set events = app.session.bag('spinbits_ga4_events').all %}
45-
{% for event, content in events %}
46-
{% for c in content %}
47-
gtag("event", "{{ event }}", {{ c|raw }});
48-
{% endfor %}
49-
{% endfor %}
50-
console.log({{ events|json_encode|raw }})
43+
{% set events = app.session.bag('spinbits_ga4_events').all %}
44+
{% for event, content in events %}
45+
{% for c in content %}
46+
gtag("event", "{{ event }}", {{ c|raw }});
47+
{% endfor %}
48+
{% endfor %}
5149
{% endif %}
5250
</script>

tests/Application/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ USER_COM_FRONTEND_API_KEY=""
3737
TAG_MANAGER_ID=""
3838
USER_COM_ENCRYPTION_KEY=your-32-character-long-key
3939
USER_COM_ENCRYPTION_IV=your-16-character-long-
40-
MESSENGER_USER_COM_ASYNCHRONOUS=""
40+
MESSENGER_USER_COM_ASYNCHRONOUS="amqp://guest:guest@localhost:5672/%2f"
4141
###< UserCom

0 commit comments

Comments
 (0)