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

Webtools Analytics compliancy with new Europa Analytics Platform #194

Open
dhamaris opened this issue May 5, 2022 · 1 comment
Open

Comments

@dhamaris
Copy link

dhamaris commented May 5, 2022

Hello, I am using Drupal 9.3 and was given the necessary snippets to upgrade to cck2 and to new europa analytics service. I just found about these oe_webtools modules and installed them, but the code does not match:
When I install the module europa analytics, the following code is generated:

<script type="application/json">
{
  "utility":"piwik",
  "siteID":"b56b05cd-e693-46f0-ae3f-1f540c475b23",
  "sitePath":["euromod-web.jrc.ec.europa.eu"],
   "instance":"ec"
  }
</script>

 
But the snippet should have "analytics" under "utility", right?

 <script type="application/json">
	   {
	"utility":"analytics",
        "siteID":"b56b05cd-e693-46f0-ae3f-1f540c475b23",
        "sitePath":["euromod-web.jrc.ec.europa.eu"],
        "instance":"ec"
        }
      </script>

What does this mean? It is ok like that in the module? Or does the module not provide support for new europa analytics system yet?

Thank you

@alexboss
Copy link

alexboss commented Nov 6, 2024

Dear colleagues, this is Alexandre from Webtools team.

Indeed, we can confirm the "utility" should be set to "analytics" instead of "piwik".

"piwik" was used at the very beginning but has been changed for "analytics" to be more generic, ditch a specific product name, be aligned with the Europa Analytics teams, and consistent with the $wt.analytics API.

The Webtools documentation has been updated accordingly: https://webgate.ec.europa.eu/fpfis/wikis/display/webtools/Europa+Analytics

The standard value for the parameter "utility" is "analytics" . However, it's possible to encounter the parameter "utility" with the value "piwik". Both are valid, nevertheless "piwik" is deprecated and kept for historical reasons.

It is recommended to use the standard value "analytics" (especially to be aligned and consistent with the name of the API $wt.analytics).

Thank you and best regards.

Alexandre - DIGIT WEBTOOLS

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

No branches or pull requests

2 participants