๐๐๐
It just took me 2.5 years, but finally got my head around it to release v1.11 :)
https://github.com/idarek/minimal-analytics-4
#googleanalytics4 #ga4 #minimalanalytics #minimalanalytics4 #measurementprotocol #googleanalytics
๐๐๐
It just took me 2.5 years, but finally got my head around it to release v1.11 :)
https://github.com/idarek/minimal-analytics-4
#googleanalytics4 #ga4 #minimalanalytics #minimalanalytics4 #measurementprotocol #googleanalytics
๐ฌ๐ง ๐๐ผ๐บ๐ฏ๐ถ๐ป๐ถ๐ป๐ด ๐ ๐ฒ๐๐ต๐ผ๐ฑ๐ ๐๐ผ ๐ฃ๐ฟ๐ฒ๐๐ฒ๐ป๐ ๐๐ฑ๐ฏ๐น๐ผ๐ฐ๐ธ๐ฒ๐ฟ๐ ๐ณ๐ฟ๐ผ๐บ ๐๐น๐ผ๐ฐ๐ธ๐ถ๐ป๐ด ๐ฌ๐ผ๐๐ฟ ๐ ๐ถ๐ป๐ถ๐บ๐ฎ๐น ๐๐ผ๐ผ๐ด๐น๐ฒ ๐๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐ ๐ฐ ๐ฆ๐ป๐ถ๐ฝ๐ฝ๐ฒ๐
https://dariusz.wieckiewicz.org/en/combining-methods-adblockers-google-analytics/
#GoogleAnalytics
#Redirect200
#minimalanalytics
#AdBlockPlus
#DuckDuckGo
#JavaScript
When I developed my Minimal Google Analytics 4 snippet, I thought about preventing it from being blocked by various AdBlockers. Along with AdBlock Plus, I am also using the DuckDuckGo Privacy Protection extension in Safari. I am using the DuckDuckGo browser on its own as well. DuckDuckGo, along with restrictive ad blockers, tends to block requests heading to the google-analytics.com domain. This is done on purpose, and I fully understand that. This is why I described mitigation techniques (Minimal Analytics 4 - masking (hiding) requests). This technique allows you to utilize Redirect 200 to mask requests to external domains under your domain. By implementing a redirect as follows: /g/collect https://www.google-analytics.com/g/collect 200 Instead of calling the address below in a script https://www.google-analytics.com/g/collect I am calling this https://www.example.com/g/collect Behind the scenes, thanks to Redirect 200, I am sending requests to Google Analytics that are not blocked by either AdBlock Plus or DuckDuckGo. This solution, however, has 2 major flaws.
๐ฉ๐ฒ๐ฟ๐๐ถ๐ผ๐ป ๐ญ.๐ญ๐ฌ ๐ฅ๐ฒ๐น๐ฒ๐ฎ๐๐ฒ๐ฑ
๐ฌ๐ง ๐ ๐๐ฒ๐ฟ๐ ๐ ๐ถ๐ป๐ถ๐บ๐ฎ๐น ๐๐ผ๐ผ๐ด๐น๐ฒ ๐๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐ ๐ฐ ๐ฆ๐ป๐ถ๐ฝ๐ฝ๐ฒ๐
https://dariusz.wieckiewicz.org/en/minimal-google-analytics-4-snippet/
๐ ๐ท๐ฆ๐ณ๐บ ๐ฎ๐ช๐ฏ๐ช๐ฎ๐ข๐ญ ๐จ๐ฐ๐ฐ๐จ๐ญ๐ฆ ๐ข๐ฏ๐ข๐ญ๐บ๐ต๐ช๐ค๐ด 4 ๐ด๐ฏ๐ช๐ฑ๐ฑ๐ฆ๐ต ๐ข๐ญ๐ญ๐ฐ๐ธ๐ช๐ฏ๐จ ๐บ๐ฐ๐ถ ๐ต๐ฐ ๐ณ๐ฆ๐ค๐ฐ๐ณ๐ฅ ๐ฑ๐ข๐จ๐ฆ ๐ท๐ช๐ฆ๐ธ๐ด, ๐ด๐ช๐ต๐ฆ ๐ด๐ฆ๐ข๐ณ๐ค๐ฉ๐ฆ๐ด, ๐ด๐ค๐ณ๐ฐ๐ญ๐ญ๐ด ๐ข๐ฏ๐ฅ ๐ง๐ช๐ญ๐ฆ ๐ฅ๐ฐ๐ธ๐ฏ๐ญ๐ฐ๐ข๐ฅ๐ด ๐ฐ๐ฏ ๐บ๐ฐ๐ถ๐ณ ๐ธ๐ฆ๐ฃ๐ด๐ช๐ต๐ฆ ๐ธ๐ช๐ต๐ฉ๐ฐ๐ถ๐ต ๐ญ๐ฐ๐ข๐ฅ๐ช๐ฏ๐จ ๐ฐ๐ง๐ง๐ช๐ค๐ช๐ข๐ญ, ๐ฉ๐ฆ๐ข๐ท๐บ ๐ต๐ณ๐ข๐ค๐ฌ๐ช๐ฏ๐จ ๐ญ๐ช๐ฃ๐ณ๐ข๐ณ๐บ.
#GoogleAnalytics
#GoogleAnalytics4
#minimalanalytics
#minimalanalytics4