Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Matomo tracking pixel #1015

Merged
merged 1 commit into from
May 8, 2020
Merged

Remove Matomo tracking pixel #1015

merged 1 commit into from
May 8, 2020

Conversation

samajammin
Copy link
Member

@samajammin samajammin commented May 8, 2020

Description

Introducing the vuepress-plugin-ipfs appears to have created some havoc in our HTML builds when interacting with the Matomo tracking pixel.

Before adding it:
view-source:https://5e82199f98b4cc0007b721be--ethereumorg.netlify.app/

<noscript><p><img src="//matomo.ethereum.org/piwik/matomo.php?idsite=4&amp;rec=1" style="border:0;" alt="" /></p></noscript>

After adding it:
view-source:https://5e87b5c66f385800079a016c--ethereumorg.netlify.app/

<noscript></noscript></head><body><p><img src="//matomo.ethereum.org/piwik/matomo.php?idsite=4&#x26;rec=1" style="border:0;" alt=""></p>

This resulted in the pixel (& other scripts) being injected into the <body> vs. the <head> of the HTML. Our reported site traffic basically doubled as a result (visits were being double-counted), all reported as direct entry (as the pixel can't attribute source channel).

This PR removes the Matomo tracking pixel, which resolves the conflict with vuepress-plugin-ipfs. The tracking pixel ultimately didn't provide much value anyway, merely providing a back up in case a browser had JS disabled.

Related Issue

None

Screenshots (if appropriate):

@samajammin samajammin merged commit 0558274 into dev May 8, 2020
@samajammin samajammin deleted the matomo-fix branch May 8, 2020 18:02
@samajammin samajammin mentioned this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant