Sorry, not possible. The bad news is Portfolio does not allow code
insertion in or tags.The good news is you may use Google
Analytics with your Portfolio site. In your Site Settings, you'll find a
special field for entering your Google Analytics Tracking code.
Additionally, you can add Google site ownership verification to your
Custom Meta Tags. You will obtain the code from your Google Console and
paste it into the Meta Tag field.See link below for
details.https://help.myportfolio.com/hc/en-u...