I recently ran an scan on my phone using MVISION, the scan indicated that com.pivotmobile.android.metrics was sideloaded and that it should be deleted. I could not find any valuable information of its origin on the web, but looking at the application tab on my phone setting, I could find out that it was installed by Claro, my mobile service provider. So I went ahead and deleted, without a problem Take this with a little caution (backup before deleting, bla, bla, bla), but it looks to be a mobile service provider tracking file.
I guess there are hundreds of ways to do this, but I found the Google natural way of doing it, and I guess it could no be simpler: Install Site Kit by Google plug-in to your Wordpress site. No need to change themes or anything. It is a simple plug, where you just click the default options, and Google will do the rest. Detailed instructions are located here: https://support.google.com/adsense/answer/7527509?hl=en