Hi @moeinich,
Can you try it with the ActiveCampaign plugin? I just tested this and it seems to have the correct behaviour when following the instructions in the article you sent.
If you are going with the ActiveCampaign WordPress plugin, then you will not have to manually add the script as is shown in the last part of the guide.
So just to summarize the steps:
– Install ActiveCampaign plugin & add API key
– Create and implement an ActiveCampaign Form
– Under Complianz > Integrations > Plugins, make sure that “ActiveCampaign” is enabled (should happen automatically)
– Complianz > Integrations > Script Center > In the textbox at “URL’s or unique string from inline script” enter: activecampaign-subscription-forms
Here’s my example page. Open it in an Incognito window (CTRL+Shift+N), the “ac_enable_tracking” will only be set after consent. ActiveCampaign Form
Kind regards,
Jarno
Hi @jarnovos, that is what I’ve done.
These are the complianz settings: http://prntscr.com/12svnyh
And here’s AC settings: http://prntscr.com/12svp4u
However, that still results in “ac_enable_tracking” = 1 in cookies, as you can see here: http://prntscr.com/12svriq
I’m pretty confused as to how I have to block it then
Hello @moeinich,
In the first screenshot of your Complianz settings, your input is activecampaign-subscription-forms. which contains a dot at the end.
When you remove the dot, it should work as expected.
Kind regards,
Jarno
Hi @jarnovos its not a dot it is a “,”
it does say:
activecampaign-subscription-forms,
and as you can see here: http://prntscr.com/12u8gv1
Marketing cookies are denied, but AC still fires
-
This reply was modified 5 years ago by
moeinich.
-
This reply was modified 5 years ago by
moeinich.
-
This reply was modified 5 years ago by
moeinich.
Plugin Author
Aert
(@aahulsebos)
Hi @moeinich,
Could you disable SG Optimizer and other optimizations tools for Javascript and HTML. It’s hard to debug with these tools enabled.
regards Aert
Hi @aahulsebos, of course 🙂 It’s disabled now
Plugin Author
Aert
(@aahulsebos)
Hi @moeinich,
This solves it as well. Is SG Optimizer the only tool you’re using?
Aert
Yeah… I noticed that it started working after disabling SG Optimizer..
Yes, SG is the only tool I’m using for minifying the files, I guess I have to look into why this one is blocking the consent solution
>If you have any other tools, that works, please do share ^^
-
This reply was modified 5 years ago by
moeinich.
Plugin Author
Aert
(@aahulsebos)
Hi @moeinich,
I’ll have a look as well,
regards Aert
Hi again @aahulsebos, so I figured out where SGOptimizer breaks it – Minify JavaScript Files. I can combine JS files just fine, just not minify them, because that breaks it somewhere
so to make it work, these are the settings used in SGOptimizer (You need to not combine the AC script, otherwise it wont work again)
http://prntscr.com/12u99lu
-
This reply was modified 5 years ago by
moeinich.
Plugin Author
Aert
(@aahulsebos)
Hi @moeinich,
I found this if you want to try excluding just certain scripts from modification; https://ww.wp.xz.cn/support/topic/how-to-use-sg-optimizers-filters-procedure/
Hope this helps,
regards Aert