joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP installer and manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).

Home Page:https://lemper.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mautic config and .gif tracking

benfavre opened this issue · comments

Mautic uses dynamic .gif files for tracking.
The mautic config includes a config file for static content. Removing the gif extension inside that config file fixes tracking.

@benfavre could you give me an example of the .gif file url? and what happen if you add this directive to the etc/nginx/vhost/site_mautic.conf file?

location ~* \.gif$ {
	add_header Cache-Control "no-cache";
	access_log on;
	log_not_found on;
	expires off;
}

It seems that the .gif file is cached by default due to the rules from rules_staticfiles.conf file.

seems to be working ok for me

@benfavre thanks for your report