Firstly go to Google Analytics and setup your custom dimentions as scope: "Session:
ExactVisitor Exact Person
ExactVisitor IP Traffic Type
ExactVisitor Company Name
ExactVisitor Company Domain
ExactVisitor Industry
ExactVisitor Employee Range
ExactVisitor Tech Budget
ExactVisitor Global Alexa Rank
ExactVisitor HQ City
ExactVisitor HQ State
ExactVisitor HQ Country
ExactVisitor Tech Stack
Install tracking code after the gtags:
<script>
provideGtagPlugin({
apiKey: 'YOUR EXACT VISITOR TRACKING API KEY',
person: 'dimension1',
trafficeType: 'dimension2',
companyName: 'dimension3',
companyDomain: 'dimension4',
industry: 'dimension5',
employeeRange: 'dimension6',
techBudget: 'dimension7',
globalAlexaRank: 'dimension8',
hqCity: 'dimension9',
hqState: 'dimension10',
hqCountry: 'dimension11',
techStack: 'dimension12',
});
</script>
Verify with google analytics plugin if it works:
Using below plugin and right click inspect and Console:
.