After trying a lot of different scenarios, it doesn’t seem possible to have the Matomo tracking code compiled into webpacker.
It’s not a huge deal. I’m just putting the code in the head as instructed. I’m just curious if anyone else had run into, and perhaps solved, this problem.
Thanks in advance!