Skip to content

Commit

Permalink
Fix duplicate pageview tracking. (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikHen authored May 15, 2021
1 parent 1c27223 commit 796d07d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace GoogleAnalyticsInterop

document.head.appendChild(script);

gtag("config", trackingId);
gtag("config", trackingId, { 'send_page_view': false });

if(this.debug){
console.log(`[GTAG][${trackingId}] Configured!`);
Expand Down

0 comments on commit 796d07d

Please sign in to comment.