Plugin Author
Aert
(@aahulsebos)
Hi @brendan1029,
When I search for this I find;
If you see the advads_tracking_methods is not defined error in the browser’s developer console, then it is likely that some script optimization removed part of our code from your site. At this point, this is a known issue with Ezoic. Please reach out to them for a solution.
Source: https://wpadvancedads.com/manual/tracking-issues/
Could this be the issue?
regards Aert
Hello and thanks for your reply.
We had conducted and theme and plugin compatability test when we encountered this error. We use perfmatters for optimization, but we have tested this extensively. We do not use Ezoic.
Whether we use our theme or the default theme, with only advanced ads and complianz activated, we get the error. With all plugins on and complianz off, everything works fine.
The only other thing we can think of to look into is cloudflare, which we are doing tonight. If you have any further information for us please let us know.
Thanks
Brendan
Hi @brendan1029,
It looks like some of the variables that Advanced Ads requires are blocked, resulting in an error when it tries to use them.
You could try whitelisting those scripts under Complianz > Integrations > Whitelist a script, iframe or plugin to unblock them, and see if that solves the issue. Please add the below items to the whitelist.
advanced_ads_pro_
advanced_ads_ga_uid
window.advads_passive
advads_tracking_ads

Kind regards,
Jarno
Hi @brendan1029,
Any updates on this? Did the steps provided above solve your issue?
Let us know if we can help.
Kind regards,
Jarno
Hello, we have added the info you provided, location is no longer messing with it. In the premium version, do you have the option to block page until accept?
The reason is as it currently stands, ads are not shown until after consent, but users can willingly access and use all website features ad free. My intention wasn’t to add the functionality of a built in ad blocker, but to remain compliant and allow users to choose whether or not to proceed.
Thanks
Brendan
Hi @brendan1029,
You could implement a “Soft Cookiewall” by enabling that option under Complianz > Cookie Banner > Appearance > Show as soft cookiewall.
The difference with a ‘regular’ cookie wall, where you do not present the user with a choice besides leaving the website or agreeing to third-party cookies (and which is therefore not allowed): the “Soft” Cookie Wall allows for dismissing the cookies before continuing the website visit.
Details here: https://complianz.io/the-soft-cookie-wall/
Kind regards,
Jarno
This information was really helpful, I think the offer a paid alternative may be the way to go in this case. It would depend on whether it will integrate well with our systems.
Thanks
Brendan