Fix duplicated google analytic page call.#1519
Open
TAEGYU LEEM (TerryDevS) wants to merge 1 commit intomasterfrom
Open
Fix duplicated google analytic page call.#1519TAEGYU LEEM (TerryDevS) wants to merge 1 commit intomasterfrom
TAEGYU LEEM (TerryDevS) wants to merge 1 commit intomasterfrom
Conversation
| !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e<analytics.methods.length;e++){var key=analytics.methods[e];analytics[key]=analytics.factory(key)}analytics.load=function(key,e){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics._writeKey="az10o8Nrc5rgWtPla1QHrg1rTjPdYFV6";analytics.SNIPPET_VERSION="4.13.2"; | ||
| analytics.load("az10o8Nrc5rgWtPla1QHrg1rTjPdYFV6"); | ||
| analytics.page(); | ||
| // analytics.page(); |
Contributor
There was a problem hiding this comment.
just delete rather than comment out?
Dave Troiano (davetroiano)
approved these changes
Mar 17, 2023
Contributor
Dave Troiano (davetroiano)
left a comment
There was a problem hiding this comment.
change seems good to me - one comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Trying to eliminate duplicated page call -
NOT READY YETPR is not ready.
Staging Docs
http://kafka-tutorials-staging.s3-website-us-west-2.amazonaws.com/fix-ga/
http://kafka-tutorials-staging.s3-website-us-west-2.amazonaws.com/fix-ga/tutorials
New tutorial checklist