Open fishfree opened 5 years ago
@fishfree hey! thanks for submitting the issue.
Could you please be more specific about how this would affect the plugin?
Cheers, Dmitrii
@dmitriim On the type of Google Universal Analytics settings page, we can check "Clean URLs" and "Track User ID",
But on that of Google Tag Manager, we cannot.
@fishfree that's correct. Is that feature available for Google Tag Manager? Do you have documentation to related API?
@dmitriim I read this article and this, user id and clean urls should be pushed into the GTM dataLayer by moodle-tool_webanalytics firstly. Then we need configure in the GTM management console to extract the user id and clean urls into variables and then send them to a GA tag.
Thanks @fishfree Let's mark this issue as Enhancement. Feel free to submit a patch for review.
Now, Google Universal Analytics supports "Clean URLs" and "Track User ID", but Google Tag Manager doesn't.