Skip to content

Commit e4f0768

Browse files
committed
fix: google analytics feeder not working
1 parent 419f22a commit e4f0768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/googleAnalytics/feeder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Get the gtag ID from the query string parameter named 'gtagID'
1515
const urlParams = new URLSearchParams(window.location.search);
1616
const analyticsID = urlParams.get('analyticsID');
17-
if(analyticsID && isAllowedOrigin(location.origin)){
17+
if(analyticsID){
1818
// for google analytics
1919
window.dataLayer = window.dataLayer || [];
2020
window.gtag = function(){window.dataLayer.push(arguments);};

0 commit comments

Comments
 (0)