cookie_flag | Cookie based feature flags implementation for Rails | Access Management library
kandi X-RAY | cookie_flag Summary
kandi X-RAY | cookie_flag Summary
Cookie based feature flags implementation for Rails.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns whether a feature is enabled for a given feature .
- Default feature flags
- = begin rdoc
cookie_flag Key Features
cookie_flag Examples and Code Snippets
Community Discussions
Trending Discussions on cookie_flag
QUESTION
I'm trying to handle gtag.js in order to track page views,
It's working fine on standalone pages or in iframe inside the same parent domain but it doesn't work when the iframe parent is not on the same domain (working on firefox but not in chrome/chromium)
parent page : abc.domain.com
- iframe1: def.domain.com
- gtag page view ok
- iframe2: ghi.domain.com
- gtag page view ok
- iframe1: def.domain.com
parent page: abc.running.com
- iframe1: def.domain.com
- gtag page view not working
- iframe2: ghi.domain.com
- gtag page view not working
- iframe1: def.domain.com
I control domain.com, i don't control running.com, my iframe is just included in it with an external script
gtag page view ok = i can see the collect http request in network inspector
gtag page view not working = i cannot see the collect http request in network inspector on chrome/chromium but i'm able to see in on firefox
My gtag javascript code included in the iframe is pretty simple:
...ANSWER
Answered 2021-Jan-24 at 18:55I assume that your page and Iframe are both accessed via HTTPS and have a valid SSL certificate? This is important for the SameSite/Secure flag.
I believe there is no cookie_flag domain and it is not necessary to set the domain.
The following should be enough
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cookie_flag
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page