I am a new Piwik Pro user and I am struggling implementation my tagging plan.
I can correctly track data based on url, but not coming from datalayer information.
I tried setting up a conversion tag this way but it does not collect data.
I guess I am missing something but I do not undestand where the issue is.
I read quite a lot of documentation but did not find my answers.
I guess the problem is pretty easy to solve but did not find a solution yet.
You are mixing two methods - automatic and manual in your setup.
Automatic goals are simplified and they are good out of the box if you have for example - single custom event that can be mapped as goal. To setup this you just send custom event for whatever you want to track, and map it in goal conversion settings - nothing else is required.
If you want more advanced setup - and I’ve noticed that you have already setup some additional conditions to triggers, ie. exclusions of some pages, then you should try manual goal tracking with tag:
Add new goal or edit the one you want to use, change to “track goals manually”, copy correct Goal ID (just ID, you have Goal ID: there now) and use it in your tag manager with goal conversion tag mentioned above - that should solve the issue.
Ecommerce requires a bit more code setup but grants you more data if you are running online store, here you can learn more:
Thank you Jakub !
Unfortunately, it does not solve my issue.
I guess I have another problem because I have seen data based on goals url based but did not see data on goals event based.
For the set up I defined the container in GTM on all relevent pages
Could my problem with data collection come from here ?
A few more questions to have the best set up possible.
I declared all my events as goals which is not helping having a clear reading on results since it seems I cannot have a split view per goal type. I guess the correct choice would be to create tags based on custom events, am I right ?
I already read the setup of ecommerce tracking to implement them. I checked the structure of the datalayer to get the right set up. However, I do not collect data yet. Do you see errors in my definitions ?
I cannot find tracking debug in setting section. Am I looking at the wrong place ? Or may be I do not have access ?
Thank you again Jakub !
About the first point, it is on target and I understand how to visualize my data now.
For the second point, I understood ecommerce tracking was different from Goal tracking, however, even though I followed the implementation guide, I do not collect anything.
For the 3rd point, you are right, I used the set up CNIL compliant. I will test without compliance to check my data.
I guess I have another problem because I have seen data based on goals url based but did not see data on goals event based.
For the set up I defined the container in GTM on all relevent pages
It should send data to Piwik since I do not filter on production environment in my triggers.
Just suppressed consent on all tag attached to events.
With a test in debug mode, I just saw that data which were not collected until now are correctly collected now.
The issue seems to be in consent definition which was one of my leads.
I shared you consent definition in GTM in my previous post.
Maybe there is something incorrect and the consent is not properly updated.
Do you see anything that seems incorrect ?
Goals do not get data since I changed them as manual as you suggested it.
Some of these goals are important conversions which will help me build my funnel and analyze data.
How should I visualize tag counts in reporting | dashboard ?
However, I can properly see data in ecommerce section.
@Konoff your goals setup for manual/automatic settings depends on how are you tracking events and setting up goals. You have to use right settings if you want them to work.
For consent settings, check if and when consents are applied, you can preview them when you use “debugger” in Piwik PRO tag manager module. Instead of timer you can try to set tags to fire before or after each other. That way you make sure they are loaded before and ppms is initialized.
Thank you.
I managed to change consent on the main domain.
Consent is not properly shared between subdomains and I am losing data from this point.
About Goal settings, I chose manual since I understood it was the correct set up to collect data with triggers defined on goal based tags. Maybe I am totally wrong and it should be done another way. Could it be that I have to declare conditions on the goal and do not define trigger in tag definition ? Would it work ?
Yes, that would be automatic tagging - if you see custom event in analytics, you can set automatic goal and define actions related to that event to track it as Goal.
Ok, thank you, I will check how to implement it properly and if I have troubles, I will share it here.
Coming back on my consent issue, I found the origin which lies in sharing consent with subdomain. On step 3 of my customer journey, I changing from domain to subdomain. When I check in console, I get the consent status is set to -1 (no consent) in the very first message
In piwik, here is the configuration on cross domain.
data collection > mydomain > domain + subdomain declared
privacy > consent settings > share consent with subdomains > the common part on both domain and subdomain “domain” in this example
I certainly missed something, but I do not see what.
Would you have an idea on why the consent is set to -1 when I go to my subdomain ?
@Konoff I’ve checked domain from screenshot, and I’m assuming subdomain you are referring to is subscribe. There are few errors in console that relate to tracking, maybe solving them first would fix the issue.
@jfidala, thank you for your help.
It is true that I am encountering troubles with ppms implementation.
I tried sequencing my tags to have 1st container implementation, then consent initilization.
container is implemented on page views (relevent ones)